The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
BSD 3-Clause "New" or "Revised" License
10.3k
stars
1.59k
forks
source link
[Augmentations] No error in analyzer for mixin and extension when augmentation is before original declaration #56287
Open
sgrekhov opened 4 months ago
The test https://github.com/dart-lang/co19/blob/master/LanguageFeatures/Augmentation-libraries/augmenting_declarations_A02_t01.dart checks that it is a compile-time error if augmentation location is before augmented declaration. It produce errors in the analyzer.
Errors in
augmenting_declarations_A02_t01_lib.dart
looks like:Why these errors are not reported?