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

Side by Side Diff: pkg/front_end/testcases/inference/property_get_toplevel.dart.direct.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
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 class C extends core::Object { 5 class C extends core::Object {
6 field core::int field = 0; 6 field core::int field = 0;
7 constructor •() → void 7 constructor •() → void
8 : super core::Object::•() 8 : super core::Object::•()
9 ; 9 ;
10 get getter() → core::int 10 get getter() → core::int
11 return 0; 11 return 0;
12 method function() → core::int 12 method function() → core::int
13 return 0; 13 return 0;
14 } 14 }
15 static field self::C c = new self::C::•(); 15 static field self::C c = new self::C::•();
16 static field dynamic field_ref = self::c.field;
17 static field dynamic getter_ref = self::c.getter;
18 static field dynamic function_ref = self::c.function; 16 static field dynamic function_ref = self::c.function;
19 static field dynamic field_ref_list = <dynamic>[self::c.field];
20 static field dynamic getter_ref_list = <dynamic>[self::c.getter];
21 static field dynamic function_ref_list = <dynamic>[self::c.function]; 17 static field dynamic function_ref_list = <dynamic>[self::c.function];
22 static method main() → dynamic {} 18 static method main() → dynamic {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698