Analyzer fails to propery type check invocations of complex expressions whose type is a type parameter #56907
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P2
A bug or feature request we're likely to work on
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
This code is (correctly) rejected by both the analyzer and the CFE:
This code is equivalent (the only difference is that the local variable
tValue
has been inlined), so it should be rejected too. It is correctly rejected by the CFE, but it is accepted by the analyzer:The text was updated successfully, but these errors were encountered: