Index: pkg/front_end/testcases/inference/propagate_inference_to_field_in_class.dart |
diff --git a/pkg/front_end/testcases/inference/propagate_inference_to_field_in_class.dart b/pkg/front_end/testcases/inference/propagate_inference_to_field_in_class.dart |
index 529cb2fe722a85218943c522182fedc0be2af441..ae8e053c26929f7409dbc635b648dea8cf09b0d9 100644 |
--- a/pkg/front_end/testcases/inference/propagate_inference_to_field_in_class.dart |
+++ b/pkg/front_end/testcases/inference/propagate_inference_to_field_in_class.dart |
@@ -13,5 +13,6 @@ test() { |
var /*@type=A*/ a = new A(); |
A b = /*@promotedType=none*/ a; // doesn't require down cast |
print(/*@promotedType=none*/ a.x); // doesn't require dynamic invoke |
- print(/*@promotedType=none*/ a.x + 2); // ok to use in bigger expression |
+ print(/*@promotedType=none*/ a.x /*@target=num::+*/ + |
+ 2); // ok to use in bigger expression |
} |