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

Unified Diff: pkg/front_end/testcases/inference/constructors_infer_from_arguments_redirecting_factory_to_factory.dart.outline.expect

Issue 2904133002: Fix type inference of redirecting factory constructor invocations. (Closed)
Patch Set: 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/constructors_infer_from_arguments_redirecting_factory_to_factory.dart.outline.expect
diff --git a/pkg/front_end/testcases/inference/constructors_infer_from_arguments_redirecting_factory_to_factory.dart.outline.expect b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_redirecting_factory_to_factory.dart.outline.expect
new file mode 100644
index 0000000000000000000000000000000000000000..7a63c7de356ee9ee9a370bd80bab4bef30a4de62
--- /dev/null
+++ b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_redirecting_factory_to_factory.dart.outline.expect
@@ -0,0 +1,20 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+abstract class C<T extends core::Object> extends core::Object {
+ static field dynamic _redirecting# = <dynamic>[self::C::•];
+ abstract get t() → self::C::T;
+ abstract set t(self::C::T x) → void;
+ static factory •<T extends core::Object>(self::C::•::T t) → dynamic
+ let final dynamic #t1 = self::CImpl::• in invalid-expression;
+}
+class CImpl<T extends core::Object> extends core::Object implements self::C<self::CImpl::T> {
+ field self::CImpl::T t;
+ constructor _(self::CImpl::T t) → void
+ ;
+ static factory •<T extends core::Object>(self::CImpl::•::T t) → dynamic
+ ;
+}
+static method main() → dynamic
+ ;

Powered by Google App Engine
This is Rietveld 408576698