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

Unified Diff: pkg/front_end/testcases/inference/downwards_inference_on_constructor_arguments_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_constructor_arguments_infer_downwards.dart.direct.expect
diff --git a/pkg/front_end/testcases/inference/downwards_inference_on_constructor_arguments_infer_downwards.dart.direct.expect b/pkg/front_end/testcases/inference/downwards_inference_on_constructor_arguments_infer_downwards.dart.direct.expect
new file mode 100644
index 0000000000000000000000000000000000000000..ebea34d09ecabba5bae4c558c8a37f85ccb1af46
--- /dev/null
+++ b/pkg/front_end/testcases/inference/downwards_inference_on_constructor_arguments_infer_downwards.dart.direct.expect
@@ -0,0 +1,46 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+class F0 extends core::Object {
+ constructor •(core::List<core::int> a) → void
+ : super core::Object::•() {}
+}
+class F1 extends core::Object {
+ constructor •({core::List<core::int> a = null}) → void
+ : super core::Object::•() {}
+}
+class F2 extends core::Object {
+ constructor •(core::Iterable<core::int> a) → void
+ : super core::Object::•() {}
+}
+class F3 extends core::Object {
+ constructor •(core::Iterable<core::Iterable<core::int>> a) → void
+ : super core::Object::•() {}
+}
+class F4 extends core::Object {
+ constructor •({core::Iterable<core::Iterable<core::int>> a = null}) → void
+ : super core::Object::•() {}
+}
+static method main() → void {
+ new self::F0::•(<dynamic>[]);
+ new self::F0::•(<dynamic>[3]);
+ new self::F0::•(<dynamic>["hello"]);
+ new self::F0::•(<dynamic>["hello", 3]);
+ new self::F1::•(a: <dynamic>[]);
+ new self::F1::•(a: <dynamic>[3]);
+ new self::F1::•(a: <dynamic>["hello"]);
+ new self::F1::•(a: <dynamic>["hello", 3]);
+ new self::F2::•(<dynamic>[]);
+ new self::F2::•(<dynamic>[3]);
+ new self::F2::•(<dynamic>["hello"]);
+ new self::F2::•(<dynamic>["hello", 3]);
+ new self::F3::•(<dynamic>[]);
+ new self::F3::•(<dynamic>[<dynamic>[3]]);
+ new self::F3::•(<dynamic>[<dynamic>["hello"]]);
+ new self::F3::•(<dynamic>[<dynamic>["hello"], <dynamic>[3]]);
+ new self::F4::•(a: <dynamic>[]);
+ new self::F4::•(a: <dynamic>[<dynamic>[3]]);
+ new self::F4::•(a: <dynamic>[<dynamic>["hello"]]);
+ new self::F4::•(a: <dynamic>[<dynamic>["hello"], <dynamic>[3]]);
+}

Powered by Google App Engine
This is Rietveld 408576698