You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simply using arrayWith crashes the compiler without leaving a stack trace.
var a =arrayWith(1, 3)
Is enough to trigger it.
Nim Version
Nim Compiler Version 2.0.0 [Linux: amd64]
Compiled at 2023-08-01
Copyright (c) 2006-2023 by Andreas Rumpf
git hash: a488067
active boot switches: -d:release
Current Output
home/n/.choosenim/toolchains/nim-2.0.0/lib/system.nim(2818, 25) Error: internal error: genMagicExpr: mDup
No stack traceback available
To create a stacktrace, rerun compilation with './koch temp compile <file>', see https://nim-lang.github.io/Nim/intern.html#debugging-the-compiler for details
Expected Output
Either compilation or a readable error.
Possible Solution
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Description
Simply using
arrayWith
crashes the compiler without leaving a stack trace.Is enough to trigger it.
Nim Version
Nim Compiler Version 2.0.0 [Linux: amd64]
Compiled at 2023-08-01
Copyright (c) 2006-2023 by Andreas Rumpf
git hash: a488067
active boot switches: -d:release
Current Output
Expected Output
Possible Solution
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: