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

Unified Diff: pkg/front_end/testcases/inference/list_literal_typed.dart.direct.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
Index: pkg/front_end/testcases/inference/list_literal_typed.dart.direct.expect
diff --git a/pkg/front_end/testcases/inference/list_literal_typed.dart.direct.expect b/pkg/front_end/testcases/inference/list_literal_typed.dart.direct.expect
new file mode 100644
index 0000000000000000000000000000000000000000..9164d78a26f7e10d9ba809cd0c4e122eb719be42
--- /dev/null
+++ b/pkg/front_end/testcases/inference/list_literal_typed.dart.direct.expect
@@ -0,0 +1,14 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+static field dynamic a = <core::int>[];
+static field dynamic b = <core::double>[1.0, 2.0, 3.0];
+static field dynamic c = <core::List<core::int>>[];
+static field dynamic d = <dynamic>[1, 2.0, false];
+static method main() → dynamic {
+ dynamic a = <core::int>[];
+ dynamic b = <core::double>[1.0, 2.0, 3.0];
+ dynamic c = <core::List<core::int>>[];
+ dynamic d = <dynamic>[1, 2.0, false];
+}

Powered by Google App Engine
This is Rietveld 408576698