Closed jyapayne closed 3 years ago
Thanks for the PR, but the enum is not private - it's re-exported from variants.nim
.
And even without that godotinternal
module is a part of the public API. It just separates stuff that you should use only when you know what you are doing. But there are useful application use cases for it.
Ah, I see. Alright, guess it's better to wait for the compiler to be fixed.
@endragor actually, this can be worked around by moving the template below importing of the arrays module. Do you mind if template definePoolArray
is moved below import arrays
in godot/core/poolarrays.nim
?
Workaround for: https://github.com/nim-lang/Nim/issues/16462.
It doesn't hurt to change these since it's an internal enum. This makes this repo work with the latest Nim devel.