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

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

Issue 2954133002: Resolve type parameter bounds when looking up interface members. (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<T extends core::num> extends core::Object { 5 class C<T extends core::num> extends core::Object {
6 field self::C::T a = null; 6 field self::C::T a = null;
7 constructor •() → void 7 constructor •() → void
8 : super core::Object::•() 8 : super core::Object::•()
9 ; 9 ;
10 method op(core::int b) → void { 10 method op(core::int b) → void {
11 self::C::T r1 = this.a.+(b); 11 self::C::T r1 = this.{self::C::a}.{core::num::+}(b);
12 self::C::T r2 = this.a.-(b); 12 self::C::T r2 = this.{self::C::a}.{core::num::-}(b);
13 self::C::T r3 = this.a.*(b); 13 self::C::T r3 = this.{self::C::a}.{core::num::*}(b);
14 } 14 }
15 method opEq(core::int b) → void { 15 method opEq(core::int b) → void {
16 this.a = this.a.+(b); 16 this.{self::C::a} = this.{self::C::a}.{core::num::+}(b);
17 this.a = this.a.-(b); 17 this.{self::C::a} = this.{self::C::a}.{core::num::-}(b);
18 this.a = this.a.*(b); 18 this.{self::C::a} = this.{self::C::a}.{core::num::*}(b);
19 } 19 }
20 } 20 }
21 static method main() → dynamic {} 21 static method main() → dynamic {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698