Closed nitely closed 10 months ago
Whatever this is seems to be fixed in Nim 2.0.0
distinct
keyword throws this exception in Nim < 2.0.0
https://github.com/nim-lang/Nim/issues/20227
@nitely it's possible to remove distinct
keyword and create a new object with same fields? I can send PR to fix this bug.
It's a Nim regression. It works fine in Nim 1.0.10 and 1.2.12.
And I don't think you can fix it in nim-regex because the distinct is needed, IIRC, but you can try.