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

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

Issue 2946273002: Implement override-based type inference for instance methods. (Closed)
Patch Set: Created 3 years, 6 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/generic_methods_infer_generic_function_return_type.dart
diff --git a/pkg/front_end/testcases/inference/generic_methods_infer_generic_function_return_type.dart b/pkg/front_end/testcases/inference/generic_methods_infer_generic_function_return_type.dart
index e46904d1617047d05593a008c6fb63e6c7994a57..16f1fcffda70c6b6b638112d79f7e342af508e82 100644
--- a/pkg/front_end/testcases/inference/generic_methods_infer_generic_function_return_type.dart
+++ b/pkg/front_end/testcases/inference/generic_methods_infer_generic_function_return_type.dart
@@ -6,7 +6,7 @@
library test;
class C<T> extends D<T> {
- f<U>(x) {}
+ /*@topType=() -> C::f::U*/ f<U>(/*@topType=C::f::U*/ x) {}
}
class D<T> {

Powered by Google App Engine
This is Rietveld 408576698