Details
-
Type:
Defect
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: Release 1.5
-
Fix Version/s: Release 1.6
-
Component/s: None
-
Labels:
-
Patch:Code and Test
-
Approval:Ok
Description
Whitespace should be allowed in the record reader form as with tagged literals. Following example shows the problem:
user=> *clojure-version* {:major 1, :minor 5, :incremental 1, :qualifier nil} user=> (defrecord B [x]) user.B user=> (B. 2) #user.B{:x 2} user=> #user.B{:x 3} #user.B{:x 3} user=> #user.B {:x 3} RuntimeException Unreadable constructor form starting with "#user.B " clojure.lang.Util.runtimeException (Util.java:219) user=> #inst "2013" #inst "2013-01-01T00:00:00.000-00:00" user=> #inst"2013" #inst "2013-01-01T00:00:00.000-00:00"
Patch: clj-1234-v1.diff
Screened by: Alex Miller