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

Side by Side 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 unified diff | Download patch
OLDNEW
1 library test; 1 library test;
2 import self as self; 2 import self as self;
3 import "dart:core" as core; 3 import "dart:core" as core;
4 4
5 static field core::List<core::double> a = <core::double>[]; 5 static field core::List<core::double> a = <core::double>[];
6 static field dynamic b = let final dynamic #t1 = self::a in let final dynamic #t 2 = 0 in let final dynamic #t3 = 1.0 in let final dynamic #t4 = #t1.[]=(#t2, #t3 ) in #t3; 6 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 dynami c #t4 = #t1.{core::List::[]=}(#t2, #t3) in #t3;
7 static method main() → dynamic {} 7 static method main() → dynamic {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698