Index: pkg/front_end/testcases/inference/infer_type_regardless_of_declaration_order_or_cycles.dart.dartk.expect |
diff --git a/pkg/front_end/testcases/inference/infer_type_regardless_of_declaration_order_or_cycles.dart.dartk.expect b/pkg/front_end/testcases/inference/infer_type_regardless_of_declaration_order_or_cycles.dart.dartk.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..628202a9cf31aa042877a03ee9c4cd71b6cda2b4 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/infer_type_regardless_of_declaration_order_or_cycles.dart.dartk.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 { |
+ constructor •() → void |
+ : super inf::B::•() |
+ ; |
+ get x() → dynamic |
+ return null; |
+} |
+class A extends core::Object { |
+ constructor •() → void |
+ : super core::Object::•() |
+ ; |
+ get x() → core::int |
+ return 0; |
+} |
+static method foo() → dynamic { |
+ core::int y = (throw new core::NoSuchMethodError::•(null, #C, <dynamic>[], <dynamic, dynamic>{}, null)).x; |
+ core::String z = (throw new core::NoSuchMethodError::•(null, #C, <dynamic>[], <dynamic, dynamic>{}, null)).x; |
+} |
+static method main() → dynamic { |
+ self::foo(); |
+} |