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

Side by Side Diff: pkg/front_end/testcases/inference/generic_methods_basic_downward_inference.dart.strong.expect

Issue 2911683003: Add type inference support for "call" invocations of function expressions. (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 method f<S extends core::Object, T extends core::Object>(self::f::S s) → self::f::T 5 static method f<S extends core::Object, T extends core::Object>(self::f::S s) → self::f::T
6 return null; 6 return null;
7 static method main() → dynamic { 7 static method main() → dynamic {
8 core::String x = self::f<core::int, core::String>(42); 8 core::String x = self::f<core::int, core::String>(42);
9 core::String y = self::f.call(42); 9 core::String y = self::f.call<core::int, core::String>(42);
10 } 10 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698