Index: pkg/front_end/testcases/inference/generic_methods_do_not_infer_invalid_override_of_generic_method.dart.strong.expect |
diff --git a/pkg/front_end/testcases/inference/generic_methods_do_not_infer_invalid_override_of_generic_method.dart.strong.expect b/pkg/front_end/testcases/inference/generic_methods_do_not_infer_invalid_override_of_generic_method.dart.strong.expect |
index c7927d4f294aea02db4a90319bbe0e34115db365..990b836526446dbd11ef4d2b494d8782f70da597 100644 |
--- a/pkg/front_end/testcases/inference/generic_methods_do_not_infer_invalid_override_of_generic_method.dart.strong.expect |
+++ b/pkg/front_end/testcases/inference/generic_methods_do_not_infer_invalid_override_of_generic_method.dart.strong.expect |
@@ -6,7 +6,7 @@ class C extends core::Object { |
constructor •() → void |
: super core::Object::•() |
; |
- method m(dynamic x) → dynamic |
+ method m<T extends core::Object>(self::C::m::T x) → self::C::m::T |
return x; |
} |
class D extends self::C { |
@@ -17,6 +17,6 @@ class D extends self::C { |
return x; |
} |
static method main() → dynamic { |
- core::int y = new self::D::•().{self::D::m}(42); |
+ core::int y = new self::D::•().{self::D::m}<core::int>(42); |
core::print(y); |
} |