We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Test
const FOO = 1 let BAR = 2 add(FOO, BAR)
Expected expression: add(FOO, BAR)
expression: add(FOO, BAR)
Got expression: add(1, BAR)
expression: add(1, BAR)
Related: #6293
>nim -v Nim Compiler Version 0.20.99 [Linux: i386] Compiled at 2019-07-18 Copyright (c) 2006-2019 by Andreas Rumpf git hash: 4becd5a2a8d67c7481af457d5007e1a313d454c8 active boot switches: -d:release
The text was updated successfully, but these errors were encountered:
That seems complex, I suppose the VM is applying constant folding to replace const by their value ASAP instead of storing an ident.
Sorry, something went wrong.
Also affects Nim's tools like the docgen.
indeed => #7039
No branches or pull requests
Test
Expected
expression: add(FOO, BAR)
Got
expression: add(1, BAR)
Related: #6293
The text was updated successfully, but these errors were encountered: