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 9ff8fc00c93d947b28738cf959b47d561b0f26f1..e8aafda19af67b3e99953939d1f129adf176a2b0 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,13 +6,13 @@ |
library test; |
class C { |
- m(x) => x; |
- dynamic g(int x) => x; |
+ m(x) => /*@promotedType=none*/ x; |
+ dynamic g(int x) => /*@promotedType=none*/ x; |
} |
class D extends C { |
- /*error:INVALID_METHOD_OVERRIDE*/ T m<T>(T x) => x; |
- /*error:INVALID_METHOD_OVERRIDE*/ T g<T>(T x) => x; |
+ /*error:INVALID_METHOD_OVERRIDE*/ T m<T>(T x) => /*@promotedType=none*/ x; |
+ /*error:INVALID_METHOD_OVERRIDE*/ T g<T>(T x) => /*@promotedType=none*/ x; |
} |
main() { |