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
escape hatch for not nil annotations, to avoid create worse problems such as contorted code or code with bad performance
{.push ignoreNotNil.} ... # assume the programmer knows what he's doing {.pop.}
see https://github.com/nim-lang/Nim/pull/13808/files/4f6cdd797cc0db0410644e7f1216e5264968deeb#diff-f48932f809aa3e1ed2576a4fdd754e26 where {.ignoreNotNil.} would avoid not nil causing a performance regression such as nim-lang#13448
The text was updated successfully, but these errors were encountered:
not nil
requiresInit
superseded by nim-lang/RFCs#317
Sorry, something went wrong.
No branches or pull requests
goal
escape hatch for not nil annotations, to avoid create worse problems such as contorted code or code with bad performance
example
concrete example
see https://github.com/nim-lang/Nim/pull/13808/files/4f6cdd797cc0db0410644e7f1216e5264968deeb#diff-f48932f809aa3e1ed2576a4fdd754e26
where {.ignoreNotNil.} would avoid not nil causing a performance regression such as nim-lang#13448
The text was updated successfully, but these errors were encountered: