Nim Version
Nim Compiler Version 2.2.4 [Linux: amd64]
Compiled at 2025-08-25
Copyright (c) 2006-2025 by Andreas Rumpf
git hash: f7145dd26efeeeb6eeae6fff649db244d81b212d
active boot switches: -d:release
Nim Compiler Version 2.2.5 [Linux: amd64]
Compiled at 2025-08-25
Copyright (c) 2006-2025 by Andreas Rumpf
git hash: c339651ae1d6af6c84f5489f6fe1fdea44ba1fa1
active boot switches: -d:release
Nim Compiler Version 2.3.1 [Linux: amd64]
Compiled at 2025-08-25
Copyright (c) 2006-2025 by Andreas Rumpf
git hash: b527db9ddd33fd16a8afd8467344fec81a54c84d
active boot switches: -d:release
Description
import std/strformat
iterator k(): int =
when nimvm:
yield 0
else:
yield 0
for _ in k():
closureScope:
let _ = fmt""
Current Output
Error: unhandled exception: field 'sym' is not accessible for type 'TNode' using 'kind = nkEmpty' [FieldDefect]
Expected Output
No Nim compiler unhandled FieldDefect
Known Workarounds
No response
Additional Information
No response
Nim Version
Description
Current Output
Expected Output
Known Workarounds
No response
Additional Information
No response