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
Const variables can be optimized if they're touching a string block, saving an add call
The text was updated successfully, but these errors were encountered:
import macros const foo = "foo baa" macro dd(v: typed) = when v is static: echo "static!" else: echo "NON static!" if v.symKind == nskConst: echo "const!" else: echo "NON const" dd(foo)
Sorry, something went wrong.
It seems this is a hard issue: https://forum.nim-lang.org/t/9283
No branches or pull requests
Const variables can be optimized if they're touching a string block, saving an add call
The text was updated successfully, but these errors were encountered: