Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(656)

Unified Diff: pkg/front_end/testcases/inference/constructors_infer_from_arguments.dart

Issue 2919623002: Implement type inference for PropertySet. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/front_end/testcases/inference/constructors_infer_from_arguments.dart
diff --git a/pkg/front_end/testcases/inference/constructors_infer_from_arguments.dart b/pkg/front_end/testcases/inference/constructors_infer_from_arguments.dart
index 495df4cea9d6083d426da2b9f993fab0a69ba4d5..bec61c988152e23f95dffc15ad8955882fe4ecec 100644
--- a/pkg/front_end/testcases/inference/constructors_infer_from_arguments.dart
+++ b/pkg/front_end/testcases/inference/constructors_infer_from_arguments.dart
@@ -19,9 +19,9 @@ main() {
// These hints are not reported because we resolve with a null error listener.
C<num> c_num = new /*@typeArgs=num*/ C(123);
- C<num> c_num2 = (new /*@typeArgs=num*/ C(456))..t = 1.0;
+ C<num> c_num2 = (new /*@typeArgs=num*/ C(456)).. /*@target=C::t*/ t = 1.0;
// Down't infer from explicit dynamic.
var /*@type=C<dynamic>*/ c_dynamic = new C<dynamic>(42);
- x.t = /*error:INVALID_ASSIGNMENT*/ 'hello';
+ x. /*@target=C::t*/ t = /*error:INVALID_ASSIGNMENT*/ 'hello';
}

Powered by Google App Engine
This is Rietveld 408576698