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

Side by Side 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, 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 unified diff | Download patch
OLDNEW
1 library test; 1 library test;
2 import self as self; 2 import self as self;
3 import "dart:core" as core; 3 import "dart:core" as core;
4 4
5 class C extends core::Object { 5 class C extends core::Object {
6 constructor •() → void 6 constructor •() → void
7 : super core::Object::•() 7 : super core::Object::•()
8 ; 8 ;
9 method test() → void { 9 method test() → void {
10 dynamic v1 = super.noSuchMethod(new core::_InvocationMirror::•("foo", <dynam ic>[0, 2, 2].toList(growable: false), <dynamic>[this, self::f<dynamic>()].toList (growable: false), true)); 10 dynamic v1 = super.foo(self::f<dynamic>());
11 dynamic v2 = super.noSuchMethod(new core::_InvocationMirror::•("get:bar", <d ynamic>[0, 1, 1].toList(growable: false), <dynamic>[this].toList(growable: false ), true)); 11 dynamic v2 = super.bar;
12 dynamic v3 = super.[](0); 12 dynamic v3 = super.[](0);
13 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), tr ue)) in #t1; 13 dynamic v4 = super.bar = self::f<dynamic>();
14 dynamic v5 = let final dynamic #t3 = 0 in let final dynamic #t4 = self::f<dy namic>() in let final dynamic #t5 = super.[]=(#t3, #t4) in #t4; 14 dynamic v5 = let final dynamic #t1 = 0 in let final dynamic #t2 = self::f<dy namic>() in let final dynamic #t3 = super.[]=(#t1, #t2) in #t2;
15 } 15 }
16 } 16 }
17 static method f<T extends core::Object>() → self::f::T 17 static method f<T extends core::Object>() → self::f::T
18 return null; 18 return null;
19 static method main() → dynamic {} 19 static method main() → dynamic {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698