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

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

Issue 2868133002: Fix annotation of promoted parameters in Fasta inference tests. (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/generic_methods_do_not_infer_invalid_override_of_generic_method.dart
diff --git a/pkg/front_end/testcases/inference/generic_methods_do_not_infer_invalid_override_of_generic_method.dart b/pkg/front_end/testcases/inference/generic_methods_do_not_infer_invalid_override_of_generic_method.dart
index cb637e2b6e3220e39cf0396d74ffe30bde86bdca..f0089707953393e470b5dc25f1a17bed4da77480 100644
--- a/pkg/front_end/testcases/inference/generic_methods_do_not_infer_invalid_override_of_generic_method.dart
+++ b/pkg/front_end/testcases/inference/generic_methods_do_not_infer_invalid_override_of_generic_method.dart
@@ -6,11 +6,11 @@
library test;
class C {
- T m<T>(T x) => x;
+ T m<T>(T x) => /*@promotedType=none*/ x;
}
class D extends C {
-/*error:INVALID_METHOD_OVERRIDE*/ m(x) => x;
+/*error:INVALID_METHOD_OVERRIDE*/ m(x) => /*@promotedType=none*/ x;
}
main() {

Powered by Google App Engine
This is Rietveld 408576698