Dart does not throw error if class argument parameter extends Null #33703
Labels
area-front-end
Use area-front-end for front end / CFE / kernel format related issues.
status-blocked
Blocked from making progress by another (referenced) issue
Dart SDK Version: 2.0.0-dev.55.0
OS: Windows 10
Sample code below declares a class with parameter which extends [Null]. It causes compiler error with dartanalyzer and passes without errors with dart.
This is similar to the issues #33699, #33701.
I believe both tools should behave in the same way.
Dartanalyzer sample output is:
Dart stdout and stderr are empty, no exceptions or warnings there.
The text was updated successfully, but these errors were encountered: