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: 'newHttpHeaders' can have side effects #15851
Comments
Thanks! |
@xflywind It seems wiser to override the compiler's analysis with a |
This comment has been minimized.
This comment has been minimized.
The commit that caused this bug shouldn't have been merged, why wasn't running |
testament already has Have added it in last pull request. I don't know whether we should document that and where to document it? |
* fix nim-lang#15851 * {.cast(noSideEffect).}
* fix nim-lang#15851 * {.cast(noSideEffect).}
* fix nim-lang#15851 * {.cast(noSideEffect).}
* fix nim-lang#15851 * {.cast(noSideEffect).}
Examples
Current Output
Possible Solution
Make
newHttpHeaders
back toproc
.Additional Information
System Information
Proposed Labels
The text was updated successfully, but these errors were encountered: