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

Unified Diff: pkg/front_end/testcases/inference/unsafe_block_closure_inference_method_call_explicit_type_param.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/unsafe_block_closure_inference_method_call_explicit_type_param.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/unsafe_block_closure_inference_method_call_explicit_type_param.dart.strong.expect b/pkg/front_end/testcases/inference/unsafe_block_closure_inference_method_call_explicit_type_param.dart.strong.expect
index 9ac36986a65743ce540e2b0b9a97ea572678cca1..d239c11cdede29697829da27419b50bbbf88a73b 100644
--- a/pkg/front_end/testcases/inference/unsafe_block_closure_inference_method_call_explicit_type_param.dart.strong.expect
+++ b/pkg/front_end/testcases/inference/unsafe_block_closure_inference_method_call_explicit_type_param.dart.strong.expect
@@ -6,11 +6,11 @@ class C extends core::Object {
constructor •() → void
: super core::Object::•()
;
- method f(() → dynamic g) → core::List<dynamic>
- return <dynamic>[g.call()];
+ method f<T extends core::Object>(() → self::C::f::T g) → core::List<self::C::f::T>
+ return <self::C::f::T>[g.call()];
}
static method main() → dynamic {
- core::List<core::int> v = new self::C::•().{self::C::f}(() → core::int {
+ core::List<core::int> v = new self::C::•().{self::C::f}<core::int>(() → core::int {
return 1;
});
}

Powered by Google App Engine
This is Rietveld 408576698