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

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

Issue 2907643003: Correctly infer the return context while compiling a factory constructor. (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_factory_calls_constructor.dart
diff --git a/pkg/front_end/testcases/inference/constructors_infer_from_arguments_factory_calls_constructor.dart b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_factory_calls_constructor.dart
index eb2562d2168265c518781ed86d4b32972416d4d6..bfbf6270a68e55328b0ac935c2c4b0ac469db87b 100644
--- a/pkg/front_end/testcases/inference/constructors_infer_from_arguments_factory_calls_constructor.dart
+++ b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_factory_calls_constructor.dart
@@ -11,3 +11,5 @@ class A<T> {
factory A.factory() => new /*@typeArgs=A::factory::T*/ A();
A<T> m() => new /*@typeArgs=A::T*/ A();
}
+
+main() {}

Powered by Google App Engine
This is Rietveld 408576698