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

Unified Diff: pkg/front_end/testcases/rasta/super_operator.dart.direct.expect

Issue 2949753002: Print static types of conditional expressions. (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/rasta/super_operator.dart.direct.expect
diff --git a/pkg/front_end/testcases/rasta/super_operator.dart.direct.expect b/pkg/front_end/testcases/rasta/super_operator.dart.direct.expect
index 24c3403a11f8d292c440885f5e9e094cdd797a2f..c873d0fe72df117a9878e1f24ce545f5d2220534 100644
--- a/pkg/front_end/testcases/rasta/super_operator.dart.direct.expect
+++ b/pkg/front_end/testcases/rasta/super_operator.dart.direct.expect
@@ -17,16 +17,16 @@ class B extends self::A {
: super self::A::•()
;
operator +(core::String s) → dynamic
- return this.{=self::A::+}("${s}${s}");
+ return super.+("${s}${s}");
operator [](dynamic i) → dynamic
- return this.{=self::A::[]}(i);
+ return super.{self::A::[]}(i);
operator []=(dynamic i, dynamic val) → dynamic
- return let final dynamic #t1 = let final dynamic #t2 = i in let final dynamic #t3 = i = #t2.+(1) in #t2 in let final dynamic #t4 = this.{=self::A::[]}(#t1).+(val) in let final dynamic #t5 = this.{=self::A::[]=}(#t1, #t4) in #t4;
+ return let final dynamic #t1 = let final dynamic #t2 = i in let final dynamic #t3 = i = #t2.+(1) in #t2 in let final dynamic #t4 = super.[](#t1).+(val) in let final dynamic #t5 = super.[]=(#t1, #t4) in #t4;
}
class Autobianchi extends core::Object {
constructor •() → void
: super core::Object::•()
;
method g() → dynamic
- return this.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[]", <dynamic>[0, 2, 2].toList(growable: false), <dynamic>[this, 0].toList(growable: false), true));
+ return super.[](0);
}

Powered by Google App Engine
This is Rietveld 408576698