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

Side by Side Diff: pkg/front_end/testcases/rasta/super_operator.dart.dartk.expect

Issue 2825063002: Move kernel baseline tests to front_end. (Closed)
Patch Set: Created 3 years, 8 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; 1 library;
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 A extends core::Object { 5 class A extends core::Object {
6 constructor •() → self::A 6 constructor •() → self::A
7 : super core::Object::•(); 7 : super core::Object::•();
8 operator +(core::String s) → dynamic 8 operator +(core::String s) → dynamic
9 return null; 9 return null;
10 operator [](dynamic i) → dynamic 10 operator [](dynamic i) → dynamic
11 return null; 11 return null;
12 operator []=(dynamic i, dynamic val) → dynamic {} 12 operator []=(dynamic i, dynamic val) → dynamic {}
13 } 13 }
14 class B extends self::A { 14 class B extends self::A {
15 constructor •() → self::B 15 constructor •() → self::B
16 : super self::A::•(); 16 : super self::A::•();
17 operator +(core::String s) → dynamic 17 operator +(core::String s) → dynamic
18 return super.{self::A::+}("${s}${s}"); 18 return super.{self::A::+}("${s}${s}");
19 operator [](dynamic i) → dynamic 19 operator [](dynamic i) → dynamic
20 return super.{self::A::[]}(i); 20 return super.{self::A::[]}(i);
21 operator []=(dynamic i, dynamic val) → dynamic 21 operator []=(dynamic i, dynamic val) → dynamic
22 return let final dynamic #t1 = let final dynamic #t2 = i in let final dynami c #t3 = i = #t2.+(1) in #t2 in let final dynamic #t4 = super.{self::A::[]}(#t1). +(val) in let final dynamic #t5 = super.{self::A::[]=}(#t1, #t4) in #t4; 22 return let final dynamic #t1 = let final dynamic #t2 = i in let final dynami c #t3 = i = #t2.+(1) in #t2 in let final dynamic #t4 = super.{self::A::[]}(#t1). +(val) in let final dynamic #t5 = super.{self::A::[]=}(#t1, #t4) in #t4;
23 } 23 }
24 class Autobianchi extends core::Object { 24 class Autobianchi extends core::Object {
25 constructor •() → self::Autobianchi 25 constructor •() → self::Autobianchi
26 : super core::Object::•(); 26 : super core::Object::•();
27 method g() → dynamic 27 method g() → dynamic
28 return super.[](0); 28 return super.[](0);
29 } 29 }
OLDNEW
« no previous file with comments | « pkg/front_end/testcases/rasta/super_operator.dart ('k') | pkg/front_end/testcases/rasta/super_operator.dart.direct.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698