| library; |
| // |
| // Problems in library: |
| // |
| // pkg/front_end/testcases/general/having_part_with_parts_and_annotation.dart:6:6: Error: The language version override has to be the same in the library and its part(s). |
| // part 'having_part_with_parts_and_annotation_lib1.dart'; |
| // ^ |
| // pkg/front_end/testcases/general/having_part_with_parts_and_annotation.dart:4:1: Context: This is language version annotation in the library. |
| // // @dart=2.9 |
| // ^^^^^^^^^^^^ |
| // |
| // pkg/front_end/testcases/general/having_part_with_parts_and_annotation_lib1.dart:4:6: Error: A file that's a part of a library can't have parts itself. |
| // Try moving the 'part' declaration to the containing library. |
| // part 'having_part_with_parts_and_annotation_lib2.dart'; |
| // ^ |
| // pkg/front_end/testcases/general/having_part_with_parts_and_annotation.dart: Context: This is the containing library. |
| // |
| // pkg/front_end/testcases/general/having_part_with_parts_and_annotation_lib1.dart:6:6: Error: A file that's a part of a library can't have parts itself. |
| // Try moving the 'part' declaration to the containing library. |
| // part 'having_part_with_parts_and_annotation_lib2.dart'; |
| // ^ |
| // pkg/front_end/testcases/general/having_part_with_parts_and_annotation.dart: Context: This is the containing library. |
| // |
| import self as self; |
| import "dart:core" as core; |
| |
| @#C1 |
| part having_part_with_parts_and_annotation_lib1.dart; |
| static const field core::int* Foo = #C1; |
| static const field core::int* Bar = #C2 /*isNonNullableByDefault, from org-dartlang-testcase:///having_part_with_parts_and_annotation_lib1.dart */; |
| static const field core::int* Baz = #C3 /*isNonNullableByDefault, from org-dartlang-testcase:///having_part_with_parts_and_annotation_lib1.dart */; |
| static method fromMain() → void {} |
| static method main() → dynamic {} |
| static method /*isNonNullableByDefault, from org-dartlang-testcase:///having_part_with_parts_and_annotation_lib1.dart */ fromLib1() → void {} |
| |
| constants { |
| #C1 = 42 |
| #C2 = 43 |
| #C3 = 44 |
| } |