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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_int.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_int.dart.strong.expect b/pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_int.dart.strong.expect
index ee5c7163bbde8440df2f1e3f3235827c1f567ade..46529ff5f2b68cace32f6e4d1dfa6eea21cdb894 100644
--- a/pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_int.dart.strong.expect
+++ b/pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_int.dart.strong.expect
@@ -8,14 +8,14 @@ class C<T extends core::num> extends core::Object {
: super core::Object::•()
;
method op(core::int b) → void {
- self::C::T r1 = this.a.+(b);
- self::C::T r2 = this.a.-(b);
- self::C::T r3 = this.a.*(b);
+ self::C::T r1 = this.{self::C::a}.{core::num::+}(b);
+ self::C::T r2 = this.{self::C::a}.{core::num::-}(b);
+ self::C::T r3 = this.{self::C::a}.{core::num::*}(b);
}
method opEq(core::int b) → void {
- this.a = this.a.+(b);
- this.a = this.a.-(b);
- this.a = this.a.*(b);
+ this.{self::C::a} = this.{self::C::a}.{core::num::+}(b);
+ this.{self::C::a} = this.{self::C::a}.{core::num::-}(b);
+ this.{self::C::a} = this.{self::C::a}.{core::num::*}(b);
}
}
static method main() → dynamic {}

Powered by Google App Engine
This is Rietveld 408576698