| library /*isNonNullableByDefault*/; |
| // |
| // Problems in library: |
| // |
| // pkg/front_end/testcases/general/import_conflicting_types.dart:6:1: Error: 'Foo' is imported from both 'pkg/front_end/testcases/general/import_conflicting_types_lib1.dart' and 'pkg/front_end/testcases/general/import_conflicting_types_lib2.dart'. |
| // import 'import_conflicting_types_lib2.dart'; |
| // ^^^ |
| // |
| import self as self; |
| |
| import "org-dartlang-testcase:///import_conflicting_types_lib1.dart"; |
| import "org-dartlang-testcase:///import_conflicting_types_lib2.dart"; |
| |
| static method main() → dynamic {} |
| static method errors() → dynamic { |
| invalid-type foo; |
| } |
| |
| library /*isNonNullableByDefault*/; |
| import self as self2; |
| import "dart:core" as core; |
| |
| class Foo extends core::Object { |
| synthetic constructor •() → self2::Foo |
| : super core::Object::•() |
| ; |
| } |
| |
| library /*isNonNullableByDefault*/; |
| import self as self3; |
| import "dart:core" as core; |
| |
| class Foo extends core::Object { |
| synthetic constructor •() → self3::Foo |
| : super core::Object::•() |
| ; |
| } |