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

Unified Diff: pkg/front_end/testcases/inference/generic_methods_infer_generic_function_parameter_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_parameter_type.dart
diff --git a/pkg/front_end/testcases/inference/generic_methods_infer_generic_function_parameter_type.dart b/pkg/front_end/testcases/inference/generic_methods_infer_generic_function_parameter_type.dart
index c980fb7b5e6242bb0a9a728f10e1c72f261443be..8fc6aa45fbc032019a83c24d7e6eb6acc290655d 100644
--- a/pkg/front_end/testcases/inference/generic_methods_infer_generic_function_parameter_type.dart
+++ b/pkg/front_end/testcases/inference/generic_methods_infer_generic_function_parameter_type.dart
@@ -6,7 +6,7 @@
library test;
class C<T> extends D<T> {
- f<U>(x) {}
+ /*@topType=(C::f::U) -> void*/ f<U>(/*@topType=C::f::U*/ x) {}
}
class D<T> {

Powered by Google App Engine
This is Rietveld 408576698