Index: pkg/front_end/testcases/inference_new/infer_instance_field_ref_circular.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference_new/infer_instance_field_ref_circular.dart.direct.expect b/pkg/front_end/testcases/inference_new/infer_instance_field_ref_circular.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b21b78ba9c837450cfd2f440b3f8b1d7b58d31c4 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference_new/infer_instance_field_ref_circular.dart.direct.expect |
@@ -0,0 +1,15 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+ |
+class A extends core::Object { |
+ field dynamic b = () → dynamic => self::x; |
+ field dynamic c = () → dynamic => self::x; |
+ constructor •() → void |
+ : super core::Object::•() |
+ ; |
+} |
+static field dynamic a = new self::A::•(); |
+static field dynamic x = () → dynamic => self::a.b; |
+static field dynamic y = () → dynamic => self::a.c; |
+static method main() → dynamic {} |