[NNBD] No error in analyzer for empty factory constructor #42337
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
NNBD
Issues related to NNBD Release
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
The code above produces no error in analyzer with
--enable-experiment=non-nullable
In VM it is an error
Dart VM version: 2.9.0-15.0.dev (dev) (Thu Jun 11 10:03:39 2020 +0200) on "windows_x64"
The text was updated successfully, but these errors were encountered: