Details
-
Type:
Defect
-
Status:
Closed
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: Release 1.1
-
Component/s: None
-
Labels:None
-
Approval:Ok
Description
See clojure/lang/Compiler.java, line 354 (in static class Parser, method parse())
> (def "hi" "there")
java.lang.Exception: Second argument to def must be a Symbol (NO_SOURCE_FILE:15)
The real problem the compiler means to say, is that "hi" is not a symbol, and that is the first argument to def.
Converted from http://www.assembla.com/spaces/clojure/tickets/175
Attachments:
def-error-message-fix.diff - https://www.assembla.com/spaces/clojure/documents/cu_tWuRS8r3RVoeJe5aVNr/download/cu_tWuRS8r3RVoeJe5aVNr