[CP] Issue 49097. Resolve constants in enhanced enum constructors/methods. #49117
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
cherry-pick-approved
Label for approved cherrypick request
cherry-pick-review
Issue that need cherry pick triage to approve
Commit(s) to merge
https://dart-review.googlesource.com/c/sdk/+/246041
Target
stable
Issue Description
#49097
There was a bug in enhanced enums implementation in the analyzer - we failed to resolve default values for constructors and methods.
What is the fix
With the referenced CL we will resolve these constant expressions.
Why cherry-pick
This bug causes false positive diagnostics reported.
Risk
low
Issue link(s)
#49097
Extra Info
No response
The text was updated successfully, but these errors were encountered: