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

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

Issue 2864853002: Fix constructor invocation type inference. (Closed)
Patch Set: Rebase and remove unnecessary changes 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/instance_creation_downwards.dart.direct.expect
diff --git a/pkg/front_end/testcases/inference/instance_creation_downwards.dart.direct.expect b/pkg/front_end/testcases/inference/instance_creation_downwards.dart.direct.expect
new file mode 100644
index 0000000000000000000000000000000000000000..3e4d4f726405a8722cd038ac050597c93fa344d1
--- /dev/null
+++ b/pkg/front_end/testcases/inference/instance_creation_downwards.dart.direct.expect
@@ -0,0 +1,17 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+class A<T extends core::Object> extends core::Object {
+ constructor •(self::B<core::List<self::A::T>> b) → void
+ : super core::Object::•()
+ ;
+}
+class B<T extends core::Object> extends core::Object {
+ constructor •() → void
+ : super core::Object::•()
+ ;
+}
+static method main() → dynamic {
+ dynamic x = new self::A::•<dynamic>(new self::B::•<dynamic>());
+}

Powered by Google App Engine
This is Rietveld 408576698