Dart allows to extend deferred classes. #42031
Labels
area-front-end
Use area-front-end for front end / CFE / kernel format related issues.
front-end-missing-error
P2
A bug or feature request we're likely to work on
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Dart VM version: 2.9.0-10.0.dev (dev) (Tue May 19 15:16:48 2020 +0200) on "windows_x64"
The following source code declares a class which extends deferred class:
Analyzer throws a compile error here whereas dart passes without any errors and warnings.
Sample output is:
Seems like according to the Dart Language Spec dart also should throw an exception here.
The text was updated successfully, but these errors were encountered: