Arcadia
Arcadia copied to clipboard
deftype doesn't work with generic types
(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.
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.