Closed geekrelief closed 1 year ago
Your min reproduction does not error so I can only assume you're attempting to compile the nimvm with orc
or arc
.
Yes, this is with orc.
--mm:orc
import std/json
fixed by https://github.com/nim-lang/Nim/pull/21379 since now it parses the whole module.
https://nim-lang.github.io/Nim/nims.html says the json should be available to nimscript.
With
--mm:orc
enabled.Example
test.nims:
Run with:
nim e test.nims
Current Output
Expected Output
No error.
Possible Solution
https://github.com/nim-lang/Nim/blob/7d0285853f4327a0a4f683e13971dc3429aad1f3/lib/system.nim#L1799-L1801 This prevents seqs_v2 from being included for nimscript.
Additional Information