Index: pkg/front_end/testcases/inference/propagate_inference_to_field_in_class.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/propagate_inference_to_field_in_class.dart.direct.expect b/pkg/front_end/testcases/inference/propagate_inference_to_field_in_class.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bfb34d5eac55aeb53c7e1ce1c0ddd97c06687f88 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/propagate_inference_to_field_in_class.dart.direct.expect |
@@ -0,0 +1,16 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+ |
+class A extends core::Object { |
+ field core::int x = 2; |
+ default constructor •() → void |
+ : super core::Object::•() |
+ ; |
+} |
+static method main() → dynamic { |
+ dynamic a = new self::A::•(); |
+ self::A b = a; |
+ core::print(a.x); |
+ core::print(a.x.+(2)); |
+} |