Wrong analyzer error message when unnamed constructor returns wrong type #27387
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)
The code is the following:
Analizer output (in a strong mode) is:
[error] The return type 'C<T>' is not a 'I<T>', as defined by the method ''
Note empty method name in an error message. Tested in dartanalyzer version 1.20.0-dev.5.0
The text was updated successfully, but these errors were encountered: