Files
sdk/pkg/front_end/parser_testcases/macros/augment_class.dart
T
Johnni Winther 2435848b13 [parser] Support 'augment' modifier on class declarations
This adds support for the 'augment' modifier on class declarations
needed for the static meta-programming prototype.

Change-Id: Iadd11f766a195076405f2803b2092199caf1ea8c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/233180
Reviewed-by: Jens Johansen <jensj@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2022-02-18 09:39:23 +00:00

4 lines
145 B
Dart

augment class Class {}
abstract augment class Class {}
augment class Class = Object with Mixin;
abstract augment class Class = Object with Mixin;