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

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

Issue 2856363002: Inference for typed ListLiteral(s). (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « pkg/front_end/testcases/inference/list_literal_typed.dart.outline.expect ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/testcases/inference/list_literal_typed.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/list_literal_typed.dart.strong.expect b/pkg/front_end/testcases/inference/list_literal_typed.dart.strong.expect
new file mode 100644
index 0000000000000000000000000000000000000000..56ceed4ccad9eeb43c6a12c8b3637c14414951f0
--- /dev/null
+++ b/pkg/front_end/testcases/inference/list_literal_typed.dart.strong.expect
@@ -0,0 +1,14 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+static field core::List<core::int> a = <core::int>[];
+static field core::List<core::double> b = <core::double>[1.0, 2.0, 3.0];
+static field core::List<core::List<core::int>> c = <core::List<core::int>>[];
+static field core::List<dynamic> d = <dynamic>[1, 2.0, false];
+static method main() → dynamic {
+ core::List<core::int> a = <core::int>[];
+ core::List<core::double> b = <core::double>[1.0, 2.0, 3.0];
+ core::List<core::List<core::int>> c = <core::List<core::int>>[];
+ core::List<dynamic> d = <dynamic>[1, 2.0, false];
+}
« no previous file with comments | « pkg/front_end/testcases/inference/list_literal_typed.dart.outline.expect ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698