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

Unified Diff: pkg/front_end/testcases/inference/constructors_infer_from_arguments_redirecting_factory.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_redirecting_factory.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/constructors_infer_from_arguments_redirecting_factory.dart.strong.expect b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_redirecting_factory.dart.strong.expect
index 6ed7a6ec018f0f8cde09cf550dbcbd3f0006cf94..61eb8d487d0c83c26b1a86e41aa881b5109b6cfb 100644
--- a/pkg/front_end/testcases/inference/constructors_infer_from_arguments_redirecting_factory.dart.strong.expect
+++ b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_redirecting_factory.dart.strong.expect
@@ -6,7 +6,7 @@ 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
+ static factory •<T extends core::Object>(self::C::•::T t) → self::C<self::C::•::T>
let final dynamic #t1 = self::CImpl::• in invalid-expression;
}
class CImpl<T extends core::Object> extends core::Object implements self::C<self::CImpl::T> {

Powered by Google App Engine
This is Rietveld 408576698