Closed maghis closed 8 months ago
This is formatted without losing any code on https://playground.csharpier.com/
if (testList is [var first, .. var rest])
{
// ...
}
Are you sure you are using 0.27.3?
Apologies, I just realized that in my project there was a version override that was keeping me on 0.21 (globally I was up-to-date). Closing this.
Csharpier version:
0.27.3
Before formatting:
After formatting:
The capture for the remaining elements of the list
var rest
disappears from the formatted code, breaking the build.