Dart and analyzer behaves in the different ways when call a raw non-function typedef constructor #45658
Labels
area-front-end
Use area-front-end for front end / CFE / kernel format related issues.
front-end-missing-error
Dart SDK version: 2.13.0-216.0.dev (dev) (Wed Apr 7 15:12:05 2021 -0700) on "windows_x64"
Here is a source code example:
Analyzer throws a compile error here whereas dart silently passes.
Sample output is:
Please also note that both analyzer and dart don't throws a compile error for the following code:
The text was updated successfully, but these errors were encountered: