Arcadia icon indicating copy to clipboard operation
Arcadia copied to clipboard

deftype doesn't work with generic types

Open timsgardner opened this issue 8 years ago • 1 comments

(deftype Wazzoom [])

(type |System.Collections.Generic.Dictionary`2[System.Object,user.Wazzoom]|)

throws:

FileNotFoundException Could not load file or assembly 'deftype15229' or one of its dependencies. The system cannot find the file specified.  System.AppDomain.Load (/Users/builduser/buildslave/mono/build/mcs/class/corlib/System/AppDomain.cs:692)

Furthermore,

(new |System.Collections.Generic.Dictionary`2[System.Object,user.Wazzoom]|)

actually crashes Unity.

timsgardner avatar Nov 17 '17 14:11 timsgardner

Oof, that's no fun. I will take out a ClojureCLR ticket for this, but we might just need MAGIC to support deftype to close the gap.

nasser avatar Nov 18 '17 14:11 nasser