Nim
Nim copied to clipboard
internal error: not part of closure object type
trafficstars
I am trying the new recursive closure iterators. A simple example works just fine. But a larger one fails with internal error: not part of closure object type
Unfortunately trying to come up with a smaller example source file (just the iterator is reference in the error message) doesn't show the error.
So, I have to attach the full file with more than 2700 lines.
The error message is
Sudoku.nim(592, 18) Error: internal error: not part of closure object type
Nim Compiler Version 1.7.1 [Linux: amd64] Compiled at 2022-07-07 git hash: 430a1793075866179b34790a461936023fca1c0a