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

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

Issue 2885963002: Implement type inference of static invocations. (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_basic_downward_inference.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/generic_methods_basic_downward_inference.dart.strong.expect b/pkg/front_end/testcases/inference/generic_methods_basic_downward_inference.dart.strong.expect
index a4c31b6f12ffbd2a64e7ff3b949401813d1b135a..904e54d8b251c240287455c634b6830e9d8b1b06 100644
--- a/pkg/front_end/testcases/inference/generic_methods_basic_downward_inference.dart.strong.expect
+++ b/pkg/front_end/testcases/inference/generic_methods_basic_downward_inference.dart.strong.expect
@@ -2,9 +2,9 @@ library test;
import self as self;
import "dart:core" as core;
-static method f(dynamic s) → dynamic
+static method f<S extends core::Object, T extends core::Object>(self::f::S s) → self::f::T
return null;
static method main() → dynamic {
- core::String x = self::f(42);
+ core::String x = self::f<core::int, core::String>(42);
core::String y = self::f.call(42);
}

Powered by Google App Engine
This is Rietveld 408576698