[analyzer] Incorrect extensions reported in a conflict #45887
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
improve-diagnostics
Related to the quality of diagnostic messages
P2
A bug or feature request we're likely to work on
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Consider the following program:
This program causes the analyzer (9ff5ac1) to emit the following error message:
However, the conflict actually arises for
E1
andE2
, not forE
andE1
, so the error message is wrong. It seems likely that the problem lies in the error message and not in the underlying checks, because we get a correct error message ifE
is commented out, and we also (correctly) do not get any error messages ifE2
is commented out.The text was updated successfully, but these errors were encountered: