[Extension types] No error in analyzer if result of ==
operator is assigned to not bool
#54080
Labels
feature-extension-types
Implementation of the extension type feature
legacy-area-analyzer
Use area-devexp instead.
P1
A high priority bug; for example, a single project is unusable or has many test failures
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
The following test works in CFE but fails in analyzer
According to the Dart spec "The static type of an equality expression is bool", so there should be an error here
The text was updated successfully, but these errors were encountered: