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 f0089707953393e470b5dc25f1a17bed4da77480..c6ce8f0e25cf7b990424c8b96998e9280f06eba9 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 |
@@ -15,6 +15,7 @@ class D extends C { |
main() { |
int y = /*info:DYNAMIC_CAST*/ new D() |
- . /*error:WRONG_NUMBER_OF_TYPE_ARGUMENTS_METHOD*/ m<int>(42); |
+ . /*error:WRONG_NUMBER_OF_TYPE_ARGUMENTS_METHOD*/ /*@target=D::m*/ m<int>( |
+ 42); |
print(/*@promotedType=none*/ y); |
} |