[CP] Roll dart_style 156f5c8c3bfe4e3b8e7adc95f7cf24d9500f11c6 into the SDK #52346
Labels
area-infrastructure
Use area-infrastructure for SDK infrastructure issues, like continuous integration bot changes.
cherry-pick-approved
Label for approved cherrypick request
cherry-pick-merged
Cherry-pick has been merged to the stable or beta branch.
cherry-pick-review
Issue that need cherry pick triage to approve
merge-to-stable
Commit(s) to merge
73dea24
Target
stable
Prepared changelist for beta/stable
https://dart-review.googlesource.com/c/sdk/+/302451
Issue Description
This couple of few formatting issues around records and pattern matching, and fixes a rare performance regression in long parameter lists.
The CL description has the full details.
What is the fix
Roll in a new commit of dart_style with the fixes.
Why cherry-pick
The formatting of some records and switch expressions is pretty bad without these fixes. Since there is very little of that code in the wild today, getting a fix out soon will minimize churn from users to write new code, get it formatted poorly, and then have the formatting improved later.
Risk
low
Issue link(s)
See below:
Extra Info
Here are the dart_style issues this fixes:
dart-lang/dart_style#1212
dart-lang/dart_style#1213
dart-lang/dart_style#1215
The text was updated successfully, but these errors were encountered: