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

Unified Diff: pkg/front_end/testcases/inference/downwards_inference_on_list_literals_infer_downwards.dart.direct.expect

Issue 2976283002: Update expectations. (Closed)
Patch Set: Update compile.status. Created 3 years, 5 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/downwards_inference_on_list_literals_infer_downwards.dart.direct.expect
diff --git a/pkg/front_end/testcases/inference/downwards_inference_on_list_literals_infer_downwards.dart.direct.expect b/pkg/front_end/testcases/inference/downwards_inference_on_list_literals_infer_downwards.dart.direct.expect
new file mode 100644
index 0000000000000000000000000000000000000000..764ed073679302167580503e07e2ac4ee2103647
--- /dev/null
+++ b/pkg/front_end/testcases/inference/downwards_inference_on_list_literals_infer_downwards.dart.direct.expect
@@ -0,0 +1,37 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+static method foo([core::List<core::String> list1 = const <dynamic>[], core::List<core::String> list2 = const <dynamic>[42]]) → void {}
+static method main() → void {
+ {
+ core::List<core::int> l0 = <dynamic>[];
+ core::List<core::int> l1 = <dynamic>[3];
+ core::List<core::int> l2 = <dynamic>["hello"];
+ core::List<core::int> l3 = <dynamic>["hello", 3];
+ }
+ {
+ core::List<dynamic> l0 = <dynamic>[];
+ core::List<dynamic> l1 = <dynamic>[3];
+ core::List<dynamic> l2 = <dynamic>["hello"];
+ core::List<dynamic> l3 = <dynamic>["hello", 3];
+ }
+ {
+ core::List<core::int> l0 = <core::num>[];
+ core::List<core::int> l1 = <core::num>[3];
+ core::List<core::int> l2 = <core::num>["hello"];
+ core::List<core::int> l3 = <core::num>["hello", 3];
+ }
+ {
+ core::Iterable<core::int> i0 = <dynamic>[];
+ core::Iterable<core::int> i1 = <dynamic>[3];
+ core::Iterable<core::int> i2 = <dynamic>["hello"];
+ core::Iterable<core::int> i3 = <dynamic>["hello", 3];
+ }
+ {
+ const core::List<core::int> c0 = const <dynamic>[];
+ const core::List<core::int> c1 = const <dynamic>[3];
+ const core::List<core::int> c2 = const <dynamic>["hello"];
+ const core::List<core::int> c3 = const <dynamic>["hello", 3];
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698