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

Unified Diff: pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_t.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_t.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_t.dart.strong.expect b/pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_t.dart.strong.expect
index c5cc828ca82b45fccaa9ee67c69b9dc4e9975522..be5ea723cbe79792383bb7cb9112f3bfacf8b1b6 100644
--- a/pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_t.dart.strong.expect
+++ b/pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_t.dart.strong.expect
@@ -8,14 +8,14 @@ class C<T extends core::num> extends core::Object {
: super core::Object::•()
;
method op(self::C::T 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(self::C::T 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