Closed geekrelief closed 3 years ago
https://github.com/pragmagic/godot-nim/issues/81 Need to produce a simpler test case to debug this.
Looks like the {.pure.} pragma is broken in nim devel.
3b963a81 is the latest working nim commit.
The workaround for this is to modify VariantType so that each enum entry is prefixed so {.pure.}
can be removed. I tested this with nim devel branch recently, and it works except the latest commit is slower to compile than 3b963a81 for now.
The latest version of Nim devel compiles gdnim fine. Though it's twice as slow to compile a clean build compared wtih 3b963a81.
Merge core files so we don't have circular dependencies between modules.