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

Side by Side Diff: pkg/front_end/testcases/inference_new/property_get_toplevel.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
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.{self::C::field}; 16 static field core::int field_ref = self::c.{self::C::field};
17 static field dynamic getter_ref = self::c.{self::C::getter}; 17 static field core::int getter_ref = self::c.{self::C::getter};
18 static field () → core::int function_ref = self::c.{self::C::function}; 18 static field () → core::int function_ref = self::c.{self::C::function};
19 static field dynamic field_ref_list = <core::int>[self::c.{self::C::field}]; 19 static field core::List<core::int> field_ref_list = <core::int>[self::c.{self::C ::field}];
20 static field dynamic getter_ref_list = <core::int>[self::c.{self::C::getter}]; 20 static field core::List<core::int> getter_ref_list = <core::int>[self::c.{self:: C::getter}];
21 static field core::List<() → core::int> function_ref_list = <() → core::int>[sel f::c.{self::C::function}]; 21 static field core::List<() → core::int> function_ref_list = <() → core::int>[sel f::c.{self::C::function}];
22 static method main() → dynamic {} 22 static method main() → dynamic {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698