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

Side by Side Diff: pkg/front_end/testcases/inference_new/unsafe_block_closure_inference_function_call_explicit_type_param_via_expr2.dart.direct.expect

Issue 2954063002: Small fixes to top level type inference. (Closed)
Patch Set: Created 3 years, 6 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 unified diff | Download patch
OLDNEW
1 library test; 1 library test;
2 import self as self; 2 import self as self;
3 import "dart:core" as core; 3 import "dart:core" as core;
4 4
5 static field dynamic v = self::f.call(() → core::int { 5 static field dynamic v = self::f.call(() → dynamic {
6 return 1; 6 return 1;
7 }); 7 });
8 static method f<T extends core::Object>(() → self::f::T g) → core::List<self::f: :T> 8 static method f<T extends core::Object>(() → self::f::T g) → core::List<self::f: :T>
9 return <self::f::T>[g.call()]; 9 return <self::f::T>[g.call()];
10 static method main() → dynamic { 10 static method main() → dynamic {
11 self::v; 11 self::v;
12 } 12 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698