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

Unified Diff: pkg/front_end/testcases/inference/generic_methods_handle_override_of_non_generic_with_generic.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_handle_override_of_non_generic_with_generic.dart
diff --git a/pkg/front_end/testcases/inference/generic_methods_handle_override_of_non_generic_with_generic.dart b/pkg/front_end/testcases/inference/generic_methods_handle_override_of_non_generic_with_generic.dart
index 8bd35443e2ccc936ee6287e6d7d1cac87dab340d..b7dea265aa79f5ebc85d2155caf67d4d67a5dce9 100644
--- a/pkg/front_end/testcases/inference/generic_methods_handle_override_of_non_generic_with_generic.dart
+++ b/pkg/front_end/testcases/inference/generic_methods_handle_override_of_non_generic_with_generic.dart
@@ -6,7 +6,7 @@
library test;
class C {
- m(x) => x;
+ /*@topType=dynamic*/ m(/*@topType=dynamic*/ x) => x;
dynamic g(int x) => x;
}

Powered by Google App Engine
This is Rietveld 408576698