<< 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
Environment:

Clojure CLR 1.6, Windows 7 x64, CLR 4.5


Attachments: Zip Archive defrec.zip    

 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:

lein clr compile :all

in the project directory.



 Comments   
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





[CLJCLR-46] ReflectionWarning can't handle NilExpr args Created: 15/Oct/14  Updated: 15/Oct/14  Resolved: 15/Oct/14

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

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


 Description   

Reflector.GetTypeStringForArgs does not check a call to Expr.ClrType for null before getting the name. For NilExprs, HasClrType is true, but ClrType is null.



 Comments   
Comment by David Miller [ 15/Oct/14 8:49 PM ]

Commit 30399b4 2014-.10-15





[CLJCLR-47] clojure.lang.Future.cancel does not match the JVM signature Created: 15/Oct/14  Updated: 15/Oct/14  Resolved: 15/Oct/14

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

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


 Description   

In core, future-cancel is called with an argument. It fails.
No tests capture this.



 Comments   
Comment by David Miller [ 15/Oct/14 8:05 AM ]

Fixed commit 941502a 2014-10-15

Comment by David Miller [ 15/Oct/14 8:06 AM ]

Fixed commit 941502a 2014-10-15





Generated at Mon Oct 20 08:09:56 CDT 2014 using JIRA 4.4#649-r158309.