[CLJS-437] Missing "Too few arguments to if" check Created: 06/Dec/12 Updated: 07/Dec/12 Resolved: 07/Dec/12 |
|
| Status: | Resolved |
| Project: | ClojureScript |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Defect | Priority: | Minor |
| Reporter: | Brandon Bloom | Assignee: | Unassigned |
| Resolution: | Completed | Votes: | 0 |
| Labels: | patch, patch, | ||
| Attachments: |
|
| Patch: | Code |
| Description |
|
(if) and (if 1) both return nil. JVM clojure throws "Too few arguments to if". |
| Comments |
| Comment by David Nolen [ 07/Dec/12 12:03 AM ] |
|
fixed, https://github.com/clojure/clojurescript/commit/9abeb143f66ad6d92756c2dd702966f63ae76c27 |