<< Back to previous view

[CLJCLR-43] Problem with defrecord Created: 06/Oct/14  Updated: 18/Oct/14  Resolved: 18/Oct/14

Status: Resolved
Project: ClojureCLR
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Major
Reporter: Antti Karanta Assignee: David Miller
Resolution: Completed Votes: 0
Labels: None

Clojure CLR 1.6, Windows 7 x64, CLR 4.5

Attachments: Zip Archive defrec.zip    


When using defrecord compilation sometimes fails. Attached is a (fairly) minimal example - a (lein clr) project file + a single source file. To see the problem do:

lein clr compile :all

in the project directory.

Comment by David Miller [ 15/Oct/14 7:24 AM ]

For a short-term solution, see if turning off reflections warnings helps.
There is a bug in the reflection warning code that throws an exception.
(And there are way too many reflection warnings – I'll be looking into that.)

Comment by Antti Karanta [ 15/Oct/14 8:18 AM ]

Yes, setting :warn-on-reflection to false seems to be a valid workaround.

Comment by David Miller [ 18/Oct/14 4:42 PM ]

Master branch has some serious reworking of the defrecord code. Should be no more reflection warnings.

Comment by David Miller [ 18/Oct/14 4:42 PM ]

Commit dde9c85 2014.10.18

Generated at Fri Oct 24 04:34:22 CDT 2014 using JIRA 4.4#649-r158309.