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

Unified Diff: pkg/front_end/testcases/inference/infer_generic_method_type_named.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/infer_generic_method_type_named.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/infer_generic_method_type_named.dart.strong.expect b/pkg/front_end/testcases/inference/infer_generic_method_type_named.dart.strong.expect
index 5f0cea5415eb85f628a2daee8dc6c17a2e4b7cd5..bd90ebcce5dd23a47c56b01ea85af5b98b7f3db0 100644
--- a/pkg/front_end/testcases/inference/infer_generic_method_type_named.dart.strong.expect
+++ b/pkg/front_end/testcases/inference/infer_generic_method_type_named.dart.strong.expect
@@ -6,9 +6,9 @@ class C extends core::Object {
constructor •() → void
: super core::Object::•()
;
- method m(core::int a, {core::String b = null, dynamic c = null}) → dynamic
+ method m<T extends core::Object>(core::int a, {core::String b = null, self::C::m::T c = null}) → self::C::m::T
return null;
}
static method main() → dynamic {
- core::double y = new self::C::•().{self::C::m}(1, b: "bbb", c: 2.0);
+ core::double y = new self::C::•().{self::C::m}<core::double>(1, b: "bbb", c: 2.0);
}

Powered by Google App Engine
This is Rietveld 408576698