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

Unified Diff: pkg/front_end/testcases/inference/generic_methods_infer_generic_method_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_method_type.dart
diff --git a/pkg/front_end/testcases/inference/generic_methods_infer_generic_method_type.dart b/pkg/front_end/testcases/inference/generic_methods_infer_generic_method_type.dart
index db2f883c5b2610a2f15b30e4dcd14c61d84f42c6..db7ae1737c4293e8978f700a4dd86f0fb0602d0b 100644
--- a/pkg/front_end/testcases/inference/generic_methods_infer_generic_method_type.dart
+++ b/pkg/front_end/testcases/inference/generic_methods_infer_generic_method_type.dart
@@ -10,7 +10,7 @@ class C {
}
class D extends C {
- m<S>(x) => x;
+ /*@topType=D::m::S*/ m<S>(/*@topType=D::m::S*/ x) => x;
}
main() {

Powered by Google App Engine
This is Rietveld 408576698