Misleading diagnostic when invoking nullable non-function #55488
Labels
analyzer-ux
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)
Get's the following diagnostic.
The message is wrong - the nullable thing here is a
Uri
not a function.Rather than complaining about the invocation of something non-nullable, I would prefer to be told first that it is not a function
The text was updated successfully, but these errors were encountered: