Analyzer fails to report "expression has type void and cannot be used" for record argument #53769
Labels
analyzer-language-patterns
Issues with analyzer's support for the patterns language feature
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.
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
The following code is accepted by the analyzer but rejected by the CFE:
The CFE reports:
I believe the CFE behavior is correct.
The text was updated successfully, but these errors were encountered: