Index: pkg/front_end/testcases/inference/infer_correctly_on_multiple_variables_declared_together.dart |
diff --git a/pkg/front_end/testcases/inference/infer_correctly_on_multiple_variables_declared_together.dart b/pkg/front_end/testcases/inference/infer_correctly_on_multiple_variables_declared_together.dart |
index 4e5bd461a681bd0553ed21d15f11a72e6c53f55f..0de2d2619a47e988585abe6dcb197ea94afa175a 100644 |
--- a/pkg/front_end/testcases/inference/infer_correctly_on_multiple_variables_declared_together.dart |
+++ b/pkg/front_end/testcases/inference/infer_correctly_on_multiple_variables_declared_together.dart |
@@ -22,13 +22,13 @@ foo() { |
String s; |
int i; |
- s = /*info:DYNAMIC_CAST*/ new B().x; |
- s = /*error:INVALID_ASSIGNMENT*/ new B().y; |
- s = new B().z; |
- s = /*error:INVALID_ASSIGNMENT*/ new B().w; |
+ s = /*info:DYNAMIC_CAST*/ new B(). /*@target=B::x*/ x; |
+ s = /*error:INVALID_ASSIGNMENT*/ new B(). /*@target=B::y*/ y; |
+ s = new B(). /*@target=B::z*/ z; |
+ s = /*error:INVALID_ASSIGNMENT*/ new B(). /*@target=B::w*/ w; |
- i = /*info:DYNAMIC_CAST*/ new B().x; |
- i = new B().y; |
- i = /*error:INVALID_ASSIGNMENT*/ new B().z; |
- i = new B().w; |
+ i = /*info:DYNAMIC_CAST*/ new B(). /*@target=B::x*/ x; |
+ i = new B(). /*@target=B::y*/ y; |
+ i = /*error:INVALID_ASSIGNMENT*/ new B(). /*@target=B::z*/ z; |
+ i = new B(). /*@target=B::w*/ w; |
} |