blob: 528e442b80e9633e91a57cf8ea65142375c756a1 [file] [log] [blame]
library;
//
// Problems in library:
//
// pkg/front_end/testcases/issue34515.dart:9:3: Warning: 'ImportedClass' is imported from both 'pkg/front_end/testcases/issue34515_lib1.dart' and 'pkg/front_end/testcases/issue34515_lib2.dart'.
// ImportedClass(1);
// ^^^^^^^^^^^^^
//
// pkg/front_end/testcases/issue34515.dart:10:3: Warning: 'ImportedClass' is imported from both 'pkg/front_end/testcases/issue34515_lib1.dart' and 'pkg/front_end/testcases/issue34515_lib2.dart'.
// ImportedClass("a");
// ^^^^^^^^^^^^^
//
import self as self;
import "dart:core" as core;
import "org-dartlang-testcase:///issue34515_lib1.dart";
import "org-dartlang-testcase:///issue34515_lib2.dart";
static method test() void {
let final core::Object #t1 = 1 in invalid-expression "pkg/front_end/testcases/issue34515.dart:9:3: Error: 'ImportedClass' is imported from both 'pkg/front_end/testcases/issue34515_lib1.dart' and 'pkg/front_end/testcases/issue34515_lib2.dart'.
ImportedClass(1);
^^^^^^^^^^^^^";
let final core::Object #t2 = "a" in invalid-expression "pkg/front_end/testcases/issue34515.dart:10:3: Error: 'ImportedClass' is imported from both 'pkg/front_end/testcases/issue34515_lib1.dart' and 'pkg/front_end/testcases/issue34515_lib2.dart'.
ImportedClass(\"a\");
^^^^^^^^^^^^^";
}
static method main() → dynamic {}
library;
import self as self2;
import "dart:core" as core;
class ImportedClass extends core::Object {
constructor •(core::int a) → self2::ImportedClass
: super core::Object::•()
;
}
library;
import self as self3;
import "dart:core" as core;
class ImportedClass extends core::Object {
constructor •(core::String a) → self3::ImportedClass
: super core::Object::•()
;
}