-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: internal error: genMagicExpr: mDup
when using arrayWith
with some types.
#22923
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Procedure
withArray
, when used with any types exceptint
andstring
as first argument (I tested int32, int64, uint, uint8, char), crashes the compiler:Nim Version
Nim Compiler Version 2.0.0 [Linux: amd64]
Compiled at 2023-08-05
Copyright (c) 2006-2023 by Andreas Rumpf
active boot switches: -d:release
Nim Compiler Version 2.0.0 [Linux: amd64]
Compiled at 2023-11-07
Copyright (c) 2006-2023 by Andreas Rumpf
git hash: a488067
active boot switches:
Nim Compiler Version 2.1.1 [Linux: amd64]
Compiled at 2023-11-08
Copyright (c) 2006-2023 by Andreas Rumpf
git hash: 2e070df
active boot switches: -d:release
Current Output
nim-2.0.0-release
nim-devel-debug
Expected Output
Possible Solution
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: