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

Side by Side Diff: pkg/front_end/testcases/inference_new/infer_instance_accessor_ref.dart.strong.expect

Issue 2942153002: Enable top level inference of instance property gets/sets. (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 {
6 field self::B b = null;
7 constructor •() → void
8 : super core::Object::•()
9 ;
10 }
11 class B extends core::Object {
12 constructor •() → void
13 : super core::Object::•()
14 ;
15 get c() → self::C
16 return null;
17 method set(self::C value) → void {}
18 }
19 class C extends core::Object {
20 constructor •() → void
21 : super core::Object::•()
22 ;
23 }
24 class D extends self::C {
25 constructor •() → void
26 : super self::C::•()
27 ;
28 }
29 static field self::A a = new self::A::•();
30 static field self::C x = self::a.{self::A::b}.{self::B::c};
31 static field dynamic y = let final dynamic #t1 = self::a.{self::A::b} in let fin al dynamic #t2 = #t1.{self::B::c} in #t2.==(null) ? #t1.c = new self::D::•() : # t2;
32 static method main() → dynamic {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698