Potentially spurious static type computation in the Analyzer #56963
Labels
analyzer-spec
Issues with the analyzer's implementation of the language spec
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P3
A lower priority bug or feature request
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Consider the following code:
The expected static type of
++x
isint?
, given the return type ofoperator+
. However, the Analyzer reports the following warning:The text was updated successfully, but these errors were encountered: