-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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 when binary ops don't have matching whitespace on both sides. #11156
Conversation
…ixes ziglang#7399 This change also moves the warning about "&&" from the AstGen into the parser so that the "&&" warning can supersede the whitespace warning.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: Isaac Freund <[email protected]>
My change doesn't affect I'm working on a change that recommends you either add a space between |
Ok, |
The zig fmt check fails, which is only run in Is this also failing locally for you? |
@matu3ba Couple questions:
|
Hi @danielchasehooper - check CONTRIBUTING.md for some instructions on how to run the tests locally. |
@matu3ba I misread your message at first. Yes it was failing locally for me, but I've run zig fmt and we're all good now. @andrewrk Additionally,
|
@danielchasehooper |
Co-authored-by: Veikka Tuominen <[email protected]>
Fixes #7399
This change also moves the warning about
&&
from the AstGen into the parser so that the&&
warning can supersede the whitespace warning.This is my first PR for Zig, so be gentle :) Let me know if there is anything that can be improved.