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
Version 0.28.2
Input:
public class ClassName { private static void Foo(Bar bar) { var y = bar switch { // comment Bar.A => 1, Bar.B => 2, }; var z = bar switch { Bar.A => 1, // comment Bar.B => 2, }; } enum Bar { A, B, } }
Output:
Expected behavior: input should not be changed, and switch cases preceded by a comment should not be broken into separate lines.
The text was updated successfully, but these errors were encountered:
Handle more comments on switch arms
45749a1
closes #1262
Handle more comments on switch arms (#1263)
a4dd17d
closes #1262 Co-authored-by: Lasath Fernando <devel@lasath.org>
Successfully merging a pull request may close this issue.
Version 0.28.2
Input:
Output:
Expected behavior:
input should not be changed, and switch cases preceded by a comment should not be broken into separate lines.
The text was updated successfully, but these errors were encountered: