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

Unified Diff: pkg/front_end/testcases/inference/infer_assign_to_index_set_vs_get.dart.direct.expect

Issue 2927013004: Rework type inference of assignments to index expressions. (Closed)
Patch Set: Created 3 years, 6 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_assign_to_index_set_vs_get.dart.direct.expect
diff --git a/pkg/front_end/testcases/inference/infer_assign_to_index_set_vs_get.dart.direct.expect b/pkg/front_end/testcases/inference/infer_assign_to_index_set_vs_get.dart.direct.expect
index 5a1297adb883775da4f300eb1b82aa2165223de4..dd1d67610943aeaf1b43f900f2663365bd4e52fd 100644
--- a/pkg/front_end/testcases/inference/infer_assign_to_index_set_vs_get.dart.direct.expect
+++ b/pkg/front_end/testcases/inference/infer_assign_to_index_set_vs_get.dart.direct.expect
@@ -55,15 +55,15 @@ class Test extends core::Object {
method test() → void {
self::Test t = self::f();
t.[]=(self::f(), self::f());
- let final self::Test #t1 = t in let final dynamic #t2 = self::f() in #t1.[](#t2).==(null) ? let final dynamic #t3 = self::f() in let final dynamic #t4 = #t1.[]=(#t2, #t3) in #t3 : null;
- let final self::Test #t5 = t in let final dynamic #t6 = self::f() in #t5.[]=(#t6, #t5.[](#t6).+(self::f()));
- let final self::Test #t7 = t in let final dynamic #t8 = self::f() in let final dynamic #t9 = #t7.[](#t8).-(1) in let final dynamic #t10 = #t7.[]=(#t8, #t9) in #t9;
- let final self::Test #t11 = t in let final dynamic #t12 = self::f() in #t11.[]=(#t12, #t11.[](#t12).-(1));
- dynamic v1 = let final self::Test #t13 = t in let final dynamic #t14 = self::f() in let final dynamic #t15 = self::f() in let final dynamic #t16 = #t13.[]=(#t14, #t15) in #t15;
- dynamic v2 = let final self::Test #t17 = t in let final dynamic #t18 = self::f() in let final dynamic #t19 = #t17.[](#t18) in #t19.==(null) ? let final dynamic #t20 = self::f() in let final dynamic #t21 = #t17.[]=(#t18, #t20) in #t20 : #t19;
- dynamic v3 = let final self::Test #t22 = t in let final dynamic #t23 = self::f() in let final dynamic #t24 = #t22.[](#t23).+(self::f()) in let final dynamic #t25 = #t22.[]=(#t23, #t24) in #t24;
- dynamic v4 = let final self::Test #t26 = t in let final dynamic #t27 = self::f() in let final dynamic #t28 = #t26.[](#t27).-(1) in let final dynamic #t29 = #t26.[]=(#t27, #t28) in #t28;
- dynamic v5 = let final self::Test #t30 = t in let final dynamic #t31 = self::f() in let final dynamic #t32 = #t30.[](#t31) in let final dynamic #t33 = #t30.[]=(#t31, #t32.-(1)) in #t32;
+ let final dynamic #t1 = t in let final dynamic #t2 = self::f() in #t1.[](#t2).==(null) ? let final dynamic #t3 = self::f() in let final dynamic #t4 = #t1.[]=(#t2, #t3) in #t3 : null;
+ let final dynamic #t5 = t in let final dynamic #t6 = self::f() in #t5.[]=(#t6, #t5.[](#t6).+(self::f()));
+ let final dynamic #t7 = t in let final dynamic #t8 = self::f() in let final dynamic #t9 = #t7.[](#t8).-(1) in let final dynamic #t10 = #t7.[]=(#t8, #t9) in #t9;
+ let final dynamic #t11 = t in let final dynamic #t12 = self::f() in #t11.[]=(#t12, #t11.[](#t12).-(1));
+ dynamic v1 = let final dynamic #t13 = t in let final dynamic #t14 = self::f() in let final dynamic #t15 = self::f() in let final dynamic #t16 = #t13.[]=(#t14, #t15) in #t15;
+ dynamic v2 = let final dynamic #t17 = t in let final dynamic #t18 = self::f() in let final dynamic #t19 = #t17.[](#t18) in #t19.==(null) ? let final dynamic #t20 = self::f() in let final dynamic #t21 = #t17.[]=(#t18, #t20) in #t20 : #t19;
+ dynamic v3 = let final dynamic #t22 = t in let final dynamic #t23 = self::f() in let final dynamic #t24 = #t22.[](#t23).+(self::f()) in let final dynamic #t25 = #t22.[]=(#t23, #t24) in #t24;
+ dynamic v4 = let final dynamic #t26 = t in let final dynamic #t27 = self::f() in let final dynamic #t28 = #t26.[](#t27).-(1) in let final dynamic #t29 = #t26.[]=(#t27, #t28) in #t28;
+ dynamic v5 = let final dynamic #t30 = t in let final dynamic #t31 = self::f() in let final dynamic #t32 = #t30.[](#t31) in let final dynamic #t33 = #t30.[]=(#t31, #t32.-(1)) in #t32;
}
}
static method f() → dynamic

Powered by Google App Engine
This is Rietveld 408576698