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

Unified Diff: pkg/front_end/testcases/inference/constructors_infer_from_arguments_factory_calls_constructor.dart.strong.expect

Issue 2917853002: Compute correct return type for factory methods. (Closed)
Patch Set: Include changes from CL 2916533003. 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_factory_calls_constructor.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/constructors_infer_from_arguments_factory_calls_constructor.dart.strong.expect b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_factory_calls_constructor.dart.strong.expect
index 947ae4e7d128fd64b9aa1be72c6d629072a5f1bf..bd365b3220da21ed5bfe43a7ccf919e1d4892aae 100644
--- a/pkg/front_end/testcases/inference/constructors_infer_from_arguments_factory_calls_constructor.dart.strong.expect
+++ b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_factory_calls_constructor.dart.strong.expect
@@ -7,7 +7,7 @@ class A<T extends core::Object> extends core::Object {
constructor •() → void
: super core::Object::•()
;
- static factory factory<T extends core::Object>() → dynamic
+ static factory factory<T extends core::Object>() → self::A<self::A::factory::T>
return new self::A::•<self::A::factory::T>();
method m() → self::A<self::A::T>
return new self::A::•<self::A::T>();

Powered by Google App Engine
This is Rietveld 408576698