Details
-
Type:
Defect
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: Release 1.3, Release 1.4
-
Component/s: None
-
Labels:None
Description
user=> (deftype Foo [bar-quux])
user.Foo
user=> (def x (Foo. 1))
#'user/x
user=> x
IllegalArgumentException No matching field found: bar-quux for class user.Foo clojure.lang.Reflector.getInstanceField (Reflector.java:289)
#user.Foo[user=>
Printing records works fine. See this mailing list message for original report.
This patch breaks tests.