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

Unified Diff: pkg/front_end/testcases/inference/generic_methods_correctly_recognize_generic_upper_bound.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_correctly_recognize_generic_upper_bound.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/generic_methods_correctly_recognize_generic_upper_bound.dart.strong.expect b/pkg/front_end/testcases/inference/generic_methods_correctly_recognize_generic_upper_bound.dart.strong.expect
index 5c753b753378eaceb10e1d1e9bb86177694c493d..39f19d7a9ba4bc1c7d54f1f1b45bb5c23dd5376b 100644
--- a/pkg/front_end/testcases/inference/generic_methods_correctly_recognize_generic_upper_bound.dart.strong.expect
+++ b/pkg/front_end/testcases/inference/generic_methods_correctly_recognize_generic_upper_bound.dart.strong.expect
@@ -6,9 +6,9 @@ class Foo<T extends core::Pattern> extends core::Object {
constructor •() → void
: super core::Object::•()
;
- method method(self::Foo::T u) → self::Foo::T
+ method method<U extends self::Foo::T>(self::Foo::method::U u) → self::Foo::method::U
return u;
}
static method main() → dynamic {
- new self::Foo::•<core::String>().{self::Foo::method}(42);
+ new self::Foo::•<core::String>().{self::Foo::method}<core::int>(42);
}

Powered by Google App Engine
This is Rietveld 408576698