NESM
NESM copied to clipboard
Fix #17
Use uncheckedAssign for object variant assignment
This change or a similar one is what I expect is needed, but it does not actually fix issue #17 until nim-lang/NIM#19266 is fixed. Also, there is some code duplication that I don't like, but I don't know a way to avoid it.
I just want to update here that until https://github.com/nim-lang/Nim/issues/19266 is fixed, this is untestable. I'm not 100% sure this is the entire fix, either. Perhaps a PR is premature or it could be left open until it can be verified.
OK. I will keep an eye on the related PR in Nim