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

Side by Side Diff: pkg/front_end/testcases/inference/constructors_inference_f_bounded.dart.strong.expect

Issue 2933663002: Annotate targets of implicit this property gets/sets in inference tests. (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 Clonable<T extends core::Object> extends core::Object { 5 class Clonable<T extends core::Object> extends core::Object {
6 constructor •() → void 6 constructor •() → void
7 : super core::Object::•() 7 : super core::Object::•()
8 ; 8 ;
9 } 9 }
10 class Pair<T extends self::Clonable<self::Pair::T>, U extends self::Clonable<sel f::Pair::U>> extends core::Object { 10 class Pair<T extends self::Clonable<self::Pair::T>, U extends self::Clonable<sel f::Pair::U>> extends core::Object {
11 field self::Pair::T t; 11 field self::Pair::T t;
12 field self::Pair::U u; 12 field self::Pair::U u;
13 constructor •(self::Pair::T t, self::Pair::U u) → void 13 constructor •(self::Pair::T t, self::Pair::U u) → void
14 : self::Pair::t = t, self::Pair::u = u, super core::Object::•() 14 : self::Pair::t = t, self::Pair::u = u, super core::Object::•()
15 ; 15 ;
16 constructor _() → void 16 constructor _() → void
17 : self::Pair::u = null, self::Pair::t = null, super core::Object::•() 17 : self::Pair::u = null, self::Pair::t = null, super core::Object::•()
18 ; 18 ;
19 get reversed() → self::Pair<self::Pair::U, self::Pair::T> 19 get reversed() → self::Pair<self::Pair::U, self::Pair::T>
20 return new self::Pair::•<self::Pair::U, self::Pair::T>(this.u, this.t); 20 return new self::Pair::•<self::Pair::U, self::Pair::T>(this.{self::Pair::u}, this.{self::Pair::t});
21 } 21 }
22 static method main() → dynamic { 22 static method main() → dynamic {
23 final self::Pair<self::Clonable<dynamic>, self::Clonable<dynamic>> x = new sel f::Pair::_<self::Clonable<dynamic>, self::Clonable<dynamic>>(); 23 final self::Pair<self::Clonable<dynamic>, self::Clonable<dynamic>> x = new sel f::Pair::_<self::Clonable<dynamic>, self::Clonable<dynamic>>();
24 } 24 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698