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

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

Issue 2953503002: Only set types of conditional expressions in strong mode. (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_super.dart.direct.expect
diff --git a/pkg/front_end/testcases/inference/infer_assign_to_index_super.dart.direct.expect b/pkg/front_end/testcases/inference/infer_assign_to_index_super.dart.direct.expect
index 790fdf435bb0f5a83b99653984a806a634b75264..100723e355b3fae4ad8d38e8ea71fc46de01850c 100644
--- a/pkg/front_end/testcases/inference/infer_assign_to_index_super.dart.direct.expect
+++ b/pkg/front_end/testcases/inference/infer_assign_to_index_super.dart.direct.expect
@@ -44,14 +44,14 @@ class Test extends self::Base {
;
method test() → void {
super.[]=(self::f<dynamic>(), self::f<dynamic>());
- let final dynamic #t1 = self::f<dynamic>() in super.[](#t1).==(null) ?{dynamic} let final dynamic #t2 = self::f<dynamic>() in let final dynamic #t3 = super.[]=(#t1, #t2) in #t2 : null;
+ let final dynamic #t1 = self::f<dynamic>() in super.[](#t1).==(null) ? let final dynamic #t2 = self::f<dynamic>() in let final dynamic #t3 = super.[]=(#t1, #t2) in #t2 : null;
let final dynamic #t4 = self::f<dynamic>() in super.[]=(#t4, super.[](#t4).+(self::f<dynamic>()));
let final dynamic #t5 = self::f<dynamic>() in super.[]=(#t5, super.[](#t5).*(self::f<dynamic>()));
let final dynamic #t6 = self::f<dynamic>() in super.[]=(#t6, super.[](#t6).&(self::f<dynamic>()));
let final dynamic #t7 = self::f<dynamic>() in let final dynamic #t8 = super.[](#t7).-(1) in let final dynamic #t9 = super.[]=(#t7, #t8) in #t8;
let final dynamic #t10 = self::f<dynamic>() in super.[]=(#t10, super.[](#t10).-(1));
dynamic v1 = let final dynamic #t11 = self::f<dynamic>() in let final dynamic #t12 = self::f<dynamic>() in let final dynamic #t13 = super.[]=(#t11, #t12) in #t12;
- dynamic v2 = let final dynamic #t14 = self::f<dynamic>() in let final dynamic #t15 = super.[](#t14) in #t15.==(null) ?{dynamic} let final dynamic #t16 = self::f<dynamic>() in let final dynamic #t17 = super.[]=(#t14, #t16) in #t16 : #t15;
+ dynamic v2 = let final dynamic #t14 = self::f<dynamic>() in let final dynamic #t15 = super.[](#t14) in #t15.==(null) ? let final dynamic #t16 = self::f<dynamic>() in let final dynamic #t17 = super.[]=(#t14, #t16) in #t16 : #t15;
dynamic v3 = let final dynamic #t18 = self::f<dynamic>() in let final dynamic #t19 = super.[](#t18).+(self::f<dynamic>()) in let final dynamic #t20 = super.[]=(#t18, #t19) in #t19;
dynamic v4 = let final dynamic #t21 = self::f<dynamic>() in let final dynamic #t22 = super.[](#t21).*(self::f<dynamic>()) in let final dynamic #t23 = super.[]=(#t21, #t22) in #t22;
dynamic v5 = let final dynamic #t24 = self::f<dynamic>() in let final dynamic #t25 = super.[](#t24).&(self::f<dynamic>()) in let final dynamic #t26 = super.[]=(#t24, #t25) in #t25;

Powered by Google App Engine
This is Rietveld 408576698