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

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

Issue 2963763002: Change how unresolved super sends are handled. (Closed)
Patch Set: Rebased on 6cb702b723184ef8875871e4c15004d1ea0a8460. 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/unresolved_super.dart.direct.expect
diff --git a/pkg/front_end/testcases/inference/unresolved_super.dart.direct.expect b/pkg/front_end/testcases/inference/unresolved_super.dart.direct.expect
index 4d8d4d52a89970795f56eb64cd9de99c855005d5..4926c4a81c680907e3277cd17aa8dbbb568f977c 100644
--- a/pkg/front_end/testcases/inference/unresolved_super.dart.direct.expect
+++ b/pkg/front_end/testcases/inference/unresolved_super.dart.direct.expect
@@ -7,11 +7,11 @@ class C extends core::Object {
: super core::Object::•()
;
method test() → void {
- dynamic v1 = super.noSuchMethod(new core::_InvocationMirror::•("foo", <dynamic>[0, 2, 2].toList(growable: false), <dynamic>[this, self::f<dynamic>()].toList(growable: false), true));
- dynamic v2 = super.noSuchMethod(new core::_InvocationMirror::•("get:bar", <dynamic>[0, 1, 1].toList(growable: false), <dynamic>[this].toList(growable: false), true));
+ dynamic v1 = super.foo(self::f<dynamic>());
+ dynamic v2 = super.bar;
dynamic v3 = super.[](0);
- dynamic v4 = let final dynamic #t1 = self::f<dynamic>() in let final dynamic #t2 = super.noSuchMethod(new core::_InvocationMirror::•("set:bar", <dynamic>[0, 2, 2].toList(growable: false), <dynamic>[this, #t1].toList(growable: false), true)) in #t1;
- dynamic v5 = let final dynamic #t3 = 0 in let final dynamic #t4 = self::f<dynamic>() in let final dynamic #t5 = super.[]=(#t3, #t4) in #t4;
+ dynamic v4 = super.bar = self::f<dynamic>();
+ dynamic v5 = let final dynamic #t1 = 0 in let final dynamic #t2 = self::f<dynamic>() in let final dynamic #t3 = super.[]=(#t1, #t2) in #t2;
}
}
static method f<T extends core::Object>() → self::f::T

Powered by Google App Engine
This is Rietveld 408576698