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.13.0
catch places comment at wrong indentation
catch
comptime { _ = foo() catch // bar(); }
else places comment and payload at wrong indentation
else
comptime { _ = if (foo) bar() else // qux(); }
orelse canonicalizes as expected
orelse
comptime { _ = foo() orelse // qux(); }
a comment following catch, else, orelse should place the comment and payload indented from the top of the expression
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Zig Version
0.13.0
Steps to Reproduce and Observed Behavior
catch
places comment at wrong indentationelse
places comment and payload at wrong indentationorelse
canonicalizes as expectedExpected Behavior
a comment following
catch
,else
,orelse
should place the comment and payload indented from the top of the expressionThe text was updated successfully, but these errors were encountered: