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

Unified Diff: pkg/front_end/testcases/inference/infer_assign_to_index.dart.strong.expect

Issue 2926763003: Add type inference for complex assignments whose LHS is an index expression. (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.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/infer_assign_to_index.dart.strong.expect b/pkg/front_end/testcases/inference/infer_assign_to_index.dart.strong.expect
index 650665c2cd6a679f66480a41f70af924a413f20d..65f52b678edf82ad7209ebcae7b472fb097839d9 100644
--- a/pkg/front_end/testcases/inference/infer_assign_to_index.dart.strong.expect
+++ b/pkg/front_end/testcases/inference/infer_assign_to_index.dart.strong.expect
@@ -3,5 +3,5 @@ import self as self;
import "dart:core" as core;
static field core::List<core::double> a = <core::double>[];
-static field dynamic b = let final dynamic #t1 = self::a in let final dynamic #t2 = 0 in let final dynamic #t3 = 1.0 in let final dynamic #t4 = #t1.[]=(#t2, #t3) in #t3;
+static field dynamic b = let final core::List<core::double> #t1 = self::a in let final core::int #t2 = 0 in let final core::double #t3 = 1.0 in let final dynamic #t4 = #t1.{core::List::[]=}(#t2, #t3) in #t3;
static method main() → dynamic {}

Powered by Google App Engine
This is Rietveld 408576698