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

Unified Diff: pkg/front_end/testcases/inference/infer_from_complex_expressions_if_outer_most_value_is_precise.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/infer_from_complex_expressions_if_outer_most_value_is_precise.dart
diff --git a/pkg/front_end/testcases/inference/infer_from_complex_expressions_if_outer_most_value_is_precise.dart b/pkg/front_end/testcases/inference/infer_from_complex_expressions_if_outer_most_value_is_precise.dart
index de594134cbf8306eab5a65e8eee7ea059d0e531c..1776f907317e483139d4ee193b3a9e1a6e7a5606 100644
--- a/pkg/front_end/testcases/inference/infer_from_complex_expressions_if_outer_most_value_is_precise.dart
+++ b/pkg/front_end/testcases/inference/infer_from_complex_expressions_if_outer_most_value_is_precise.dart
@@ -24,7 +24,7 @@ var /*@topType=List<dynamic>*/ c2 = /*@typeArgs=dynamic*/ const [];
var /*@topType=Map<dynamic, dynamic>*/ d = <dynamic, dynamic>{
'a': 'b'
}; // map literals
-var /*@topType=A*/ e = new A()..x = 3; // cascades
+var /*@topType=A*/ e = new A().. /*@target=A::x*/ x = 3; // cascades
var /*@topType=int*/ f =
2 /*@target=num::+*/ + 3; // binary expressions are OK if the left operand
// is from a library in a different strongest

Powered by Google App Engine
This is Rietveld 408576698