Analyzer: New functions types and inference failures #30758
Labels
closed-as-intended
Closed as the reported issue is expected behavior
legacy-area-analyzer
Use area-devexp instead.
P2
A bug or feature request we're likely to work on
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
DartPad shows this nicely (make sure to enable
Strong Mode
to see the errors):https://dartpad.dartlang.org/039f886163201de475206b011b71b540
This also occurs as latest as:
New function type (inline)
Incorrectly infers as
dynamic
Old function type
Correctly infers as
int
Old typedef
Correctly infers as
int
New typedef
Incorrectly infers as
dynamic
The text was updated successfully, but these errors were encountered: