Index: pkg/front_end/testcases/inference/infer_type_regardless_of_declaration_order_or_cycles.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/infer_type_regardless_of_declaration_order_or_cycles.dart.direct.expect b/pkg/front_end/testcases/inference/infer_type_regardless_of_declaration_order_or_cycles.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2053099dc80cba61784b22f1e2d22a1f8cc1cfb9 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/infer_type_regardless_of_declaration_order_or_cycles.dart.direct.expect |
@@ -0,0 +1,26 @@ |
+library test; |
+import self as self; |
+import "./infer_type_regardless_of_declaration_order_or_cycles_b.dart" as inf; |
+import "dart:core" as core; |
+ |
+class C extends inf::B { |
+ default constructor •() → void |
+ : super inf::B::•() |
+ ; |
+ get x() → dynamic |
+ return null; |
+} |
+class A extends core::Object { |
+ default constructor •() → void |
+ : super core::Object::•() |
+ ; |
+ get x() → core::int |
+ return 0; |
+} |
+static method foo() → dynamic { |
+ core::int y = new self::C::•().x; |
+ core::String z = new self::C::•().x; |
+} |
+static method main() → dynamic { |
+ self::foo(); |
+} |