Abstract augmented declaration should not be reported as an error #55566
Labels
area-front-end
Use area-front-end for front end / CFE / kernel format related issues.
cfe-feature-macros
Implement macros features in the CFE
feature-augmentations
Implementation of the augmentations feature
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Consider the following program (consisting of two files, one library and one library augmentation, passing
--enable-experiment=macros
to the tools):This is accepted by the analyzer using
dart analyze main.dart
but rejected by the common front end withdart main.dart
:I would expect the abstract declaration in 'main.dart' to be accepted because it is transformed into a concrete declaration by the augmentation in
augment.dart
.The text was updated successfully, but these errors were encountered: