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

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

Issue 2883343002: Disable type erasure during strong mode 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.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);
}

Powered by Google App Engine
This is Rietveld 408576698