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

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

Issue 2943273002: Implement type inference of getters/setters based on inheritance. (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 class A extends core::Object implements self::B {
6 constructor •() → void
7 : super core::Object::•()
8 ;
9 get x() → dynamic
10 return self::f();
11 }
12 abstract class B extends core::Object implements self::C {
13 constructor •() → void
14 : super core::Object::•()
15 ;
16 abstract get x() → dynamic;
17 }
18 abstract class C extends core::Object {
19 constructor •() → void
20 : super core::Object::•()
21 ;
22 abstract get x() → core::int;
23 }
24 static method f() → dynamic
25 return null;
26 static method main() → dynamic {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698