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

Unified Diff: pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_t.dart.direct.expect

Issue 2976283002: Update expectations. (Closed)
Patch Set: Update compile.status. Created 3 years, 5 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.direct.expect
diff --git a/pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_t.dart.direct.expect b/pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_t.dart.direct.expect
new file mode 100644
index 0000000000000000000000000000000000000000..a973ee158f9fa2a79732d0bae0a98b3fbb972d46
--- /dev/null
+++ b/pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_t.dart.direct.expect
@@ -0,0 +1,21 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+class C<T extends core::num> extends core::Object {
+ field self::C::T a = null;
+ default constructor •() → void
+ : 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);
+ }
+ method opEq(self::C::T b) → void {
+ this.a = this.a.+(b);
+ this.a = this.a.-(b);
+ this.a = this.a.*(b);
+ }
+}
+static method main() → dynamic {}

Powered by Google App Engine
This is Rietveld 408576698