Problem with defrecord

Description

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:

in the project directory.

Environment

Clojure CLR 1.6, Windows 7 x64, CLR 4.5

Attachments

1

Activity

Show:

David MillerOctober 18, 2014 at 10:42 PM

Commit dde9c85 2014.10.18

David MillerOctober 18, 2014 at 10:42 PM

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

importOctober 15, 2014 at 2:18 PM

Comment made by: akaranta

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

David MillerOctober 15, 2014 at 1:24 PM

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.)

Completed

Details

Assignee

Reporter

Priority

Created October 6, 2014 at 12:58 PM
Updated October 18, 2014 at 10:42 PM
Resolved October 18, 2014 at 10:42 PM