| library; |
| // |
| // Problems in library: |
| // |
| // pkg/front_end/testcases/macros/part_import_augment_part.dart:7:1: Error: The part-of directive must be the only directive in a part. |
| // Try removing the other directives, or moving them to the library for which this is a part. |
| // import augment 'part_import_augment_lib.dart'; |
| // ^^^^^^ |
| // |
| import self as self; |
| import "dart:core" as core; |
| |
| import "org-dartlang-testcase:///part_import_augment.dart"; |
| |
| part part_import_augment_part.dart; |
| class Class extends core::Object { // from org-dartlang-testcase:///part_import_augment_part.dart |
| synthetic constructor •() → self::Class |
| : super core::Object::•() |
| ; |
| method /* from org-dartlang-testcase:///part_import_augment_lib.dart */ method() → void {} |
| get /* from org-dartlang-testcase:///part_import_augment_lib.dart */ getter() → core::int |
| return 42; |
| set /* from org-dartlang-testcase:///part_import_augment_lib.dart */ setter(core::int value) → void {} |
| } |
| static method /* from org-dartlang-testcase:///part_import_augment_lib.dart */ method() → void {} |
| static get /* from org-dartlang-testcase:///part_import_augment_lib.dart */ getter() → core::int |
| return 42; |
| static set /* from org-dartlang-testcase:///part_import_augment_lib.dart */ setter(core::int value) → void {} |