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
Csharpier version: 0.23.0.
0.23.0
Before formatting:
public static int ListOperation(List<int> list) { return list switch { [var elem] => elem * elem, [] => 0, [..] elems => elems.Sum(e => e + e), }; }
After formatting:
public static int ListOperation(List<int> list) { return list switch { [var elem] => elem * elem, [] => 0, [..] => elems.Sum(e => e + e), }; }
List pattern name elems disappears leaving code that doesn't compile.
elems
The text was updated successfully, but these errors were encountered:
Print designation on list pattern
f6b1e7b
closes #876
I'll get the fix for this out in a new release shortly, thanks for reporting it!
Sorry, something went wrong.
d896f6c
Thanks!
No branches or pull requests
Csharpier version:
0.23.0
.Before formatting:
After formatting:
List pattern name
elems
disappears leaving code that doesn't compile.The text was updated successfully, but these errors were encountered: