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
0.10.0-dev.1558+2af69710a
Try to run zig fmt on the following code:
zig fmt
pub fn main() void { a+ b; }
The code should be reformatted to:
pub fn main() void{ a + b; }
<stdin>:2:6: error: binary operator `+` has whitespace on one side, but not the other. a+ b; ^
Probably caused by the implementation of #7399. Ideally this would be a compile error, but not a syntax error.
The text was updated successfully, but these errors were encountered:
Duplicate of #11261.
Sorry, something went wrong.
This is intended behavior: #7399 (comment)
No branches or pull requests
Zig Version
0.10.0-dev.1558+2af69710a
Steps to Reproduce
Try to run
zig fmt
on the following code:Expected Behavior
The code should be reformatted to:
Actual Behavior
Probably caused by the implementation of #7399. Ideally this would be a compile error, but not a syntax error.
The text was updated successfully, but these errors were encountered: