The when nimvm
statement fails to compile when in a file called nimvm.nim
#23606
Labels
when nimvm
statement fails to compile when in a file called nimvm.nim
#23606
Description
I am familiarizing myself with the language by going through the manual.
I am creating seperate nim files to test some of the stuff in the manual.
This snippet from the manual fails to compile when it is in a file called
nimvm.nim
The following errors is printed at the terminal when run with
nim c -r nimvm.nim
:It could very well be that this is "expected" because of something I have not yet hit in the manual. I thought I would flag it anyways.
Nim Version
Nim Compiler Version 2.0.4 [Linux: amd64]
Compiled at 2024-03-28
Copyright (c) 2006-2023 by Andreas Rumpf
git hash: b47747d
active boot switches: -d:release
Current Output
Expected Output
Possible Solution
I'm a newbie so I'm afraid I don't have any idea :)
Additional Information
Thank you for your work!
The text was updated successfully, but these errors were encountered: