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

Side by Side Diff: pkg/front_end/testcases/inference/infer_method_function_typed.dart.direct.expect

Issue 2946273002: Implement override-based type inference for instance methods. (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
(Empty)
1 library test;
2 import self as self;
3 import "dart:core" as core;
4
5 typedef F = () → core::int;
6 abstract class A extends core::Object {
7 constructor •() → void
8 : super core::Object::•()
9 ;
10 abstract method x(() → core::int value) → void;
11 }
12 abstract class B extends self::A {
13 constructor •() → void
14 : super self::A::•()
15 ;
16 abstract method x(() → dynamic value) → void;
17 }
18 static method f<T extends core::Object>() → self::f::T
19 return null;
20 static method g(self::B b) → dynamic {
21 b.x(self::f<dynamic>());
22 }
23 static method main() → dynamic {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698