Index: pkg/front_end/testcases/inference/conflicts_can_happen2.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/conflicts_can_happen2.dart.direct.expect b/pkg/front_end/testcases/inference/conflicts_can_happen2.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cc41ea36470ba7b25d21581d1d322ff186fcc52b |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/conflicts_can_happen2.dart.direct.expect |
@@ -0,0 +1,50 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+ |
+class I1 extends core::Object { |
+ field core::int x = null; |
+ default constructor •() → void |
+ : super core::Object::•() |
+ ; |
+} |
+class I2 extends core::Object { |
+ field core::int y = null; |
+ default constructor •() → void |
+ : super core::Object::•() |
+ ; |
+} |
+class I3 extends core::Object implements self::I1, self::I2 { |
+ field core::int x = null; |
+ field core::int y = null; |
+ default constructor •() → void |
+ : super core::Object::•() |
+ ; |
+} |
+class A extends core::Object { |
+ final field self::I1 a = null; |
+ default constructor •() → void |
+ : super core::Object::•() |
+ ; |
+} |
+class B extends core::Object { |
+ final field self::I2 a = null; |
+ default constructor •() → void |
+ : super core::Object::•() |
+ ; |
+} |
+class C1 extends core::Object implements self::A, self::B { |
+ default constructor •() → void |
+ : super core::Object::•() |
+ ; |
+ get a() → self::I3 |
+ return null; |
+} |
+class C2 extends core::Object implements self::A, self::B { |
+ default constructor •() → void |
+ : super core::Object::•() |
+ ; |
+ get a() → dynamic |
+ return null; |
+} |
+static method main() → dynamic {} |