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

Unified Diff: pkg/front_end/testcases/inference/downwards_inference_for_each.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/downwards_inference_for_each.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/downwards_inference_for_each.dart.strong.expect b/pkg/front_end/testcases/inference/downwards_inference_for_each.dart.strong.expect
index 8d4b963187f9e87d9d136dc7b9fa8651259a4e1e..5371f1448be7a8a034ffc8d52746ed6240f892f8 100644
--- a/pkg/front_end/testcases/inference/downwards_inference_for_each.dart.strong.expect
+++ b/pkg/front_end/testcases/inference/downwards_inference_for_each.dart.strong.expect
@@ -4,7 +4,7 @@ import "dart:core" as core;
import "dart:async" as asy;
abstract class MyStream<T extends core::Object> extends asy::Stream<self::MyStream::T> {
- static factory •<T extends core::Object>() → dynamic
+ static factory •<T extends core::Object>() → self::MyStream<self::MyStream::•::T>
return null;
}
static method F<T extends core::Object>() → self::F::T

Powered by Google App Engine
This is Rietveld 408576698