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

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

Issue 2905123002: Perform type inference on explicitly typed fields. (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/list_literals_top_level.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/list_literals_top_level.dart.strong.expect b/pkg/front_end/testcases/inference/list_literals_top_level.dart.strong.expect
index 15c8f04c35eb87eae1df84c2b18ecb30227a47ef..37c4236b7ad25178955b4e17d80b8d23b6868732 100644
--- a/pkg/front_end/testcases/inference/list_literals_top_level.dart.strong.expect
+++ b/pkg/front_end/testcases/inference/list_literals_top_level.dart.strong.expect
@@ -2,8 +2,8 @@ library test;
import self as self;
import "dart:core" as core;
-static field core::List<core::int> x1 = <dynamic>[1, 2, 3];
-static field core::List<core::num> x2 = <dynamic>[1, 2.0, 3];
+static field core::List<core::int> x1 = <core::int>[1, 2, 3];
+static field core::List<core::num> x2 = <core::num>[1, 2.0, 3];
static method test1() → dynamic {
self::x1.{core::List::add}("hi");
self::x1.{core::List::add}(4.0);

Powered by Google App Engine
This is Rietveld 408576698