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

Side by Side Diff: pkg/kernel/testcases/strong-mode/prefer_baseclass.baseline.txt

Issue 2645733004: Run tree shaking in strong-mode baseline tests. (Closed)
Patch Set: Created 3 years, 11 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 abstract class A extends core::Object {
6 constructor •() → void 6 constructor •() → void
7 : super core::Object::•() 7 : super core::Object::•()
8 ; 8 ;
9 } 9 }
10 class B extends core::Object { 10 abstract class B extends core::Object {
11 constructor •() → void 11 constructor •() → void
12 : super core::Object::•() 12 : super core::Object::•()
13 ; 13 ;
14 } 14 }
15 class AB1 extends self::A implements self::B { 15 class AB1 extends self::A implements self::B {
16 constructor •() → void 16 constructor •() → void
17 : super self::A::•() 17 : super self::A::•()
18 ; 18 ;
19 } 19 }
20 class AB2 extends self::A implements self::B { 20 class AB2 extends self::A implements self::B {
(...skipping 12 matching lines...) Expand all
33 ; 33 ;
34 } 34 }
35 static method takeSubclassOfA(dynamic obj) → dynamic {} 35 static method takeSubclassOfA(dynamic obj) → dynamic {}
36 static method takeSubclassOfB(dynamic obj) → dynamic {} 36 static method takeSubclassOfB(dynamic obj) → dynamic {}
37 static method main() → dynamic { 37 static method main() → dynamic {
38 self::takeSubclassOfA(new self::AB1::•()); 38 self::takeSubclassOfA(new self::AB1::•());
39 self::takeSubclassOfA(new self::AB2::•()); 39 self::takeSubclassOfA(new self::AB2::•());
40 self::takeSubclassOfB(new self::BA1::•()); 40 self::takeSubclassOfB(new self::BA1::•());
41 self::takeSubclassOfB(new self::BA2::•()); 41 self::takeSubclassOfB(new self::BA2::•());
42 } 42 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698