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

Side by Side Diff: pkg/kernel/testcases/strong-mode/named_parameters.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 Superclass extends core::Object { 5 abstract class Superclass extends core::Object {
6 constructor •() → void 6 constructor •() → void
7 : super core::Object::•() 7 : super core::Object::•()
8 ; 8 ;
9 method foo({dynamic alpha, dynamic beta}) → dynamic {} 9 abstract method foo({dynamic alpha, dynamic beta}) → dynamic;
10 method bar({dynamic beta, dynamic alpha}) → dynamic {}
11 method namedCallback(({alpha: core::String, beta: core::int}) → dynamic callba ck) → dynamic {
12 callback.call(alpha: "one", beta: 2);
13 callback.call(beta: 1, alpha: "two");
14 }
15 } 10 }
16 class Subclass extends self::Superclass { 11 class Subclass extends self::Superclass {
17 constructor •() → void 12 constructor •() → void
18 : super self::Superclass::•() 13 : super self::Superclass::•()
19 ; 14 ;
20 method foo({dynamic beta, dynamic alpha}) → dynamic {} 15 method foo({dynamic beta, dynamic alpha}) → dynamic {}
21 method bar({dynamic alpha, dynamic beta}) → dynamic {}
22 method namedCallback(({alpha: core::String, beta: core::int}) → dynamic callba ck) → dynamic {}
23 } 16 }
24 static method topLevelNamed(dynamic beta, dynamic alpha, {dynamic gamma, dynamic delta}) → dynamic {} 17 static method topLevelNamed(dynamic beta, dynamic alpha, {dynamic gamma, dynamic delta}) → dynamic {}
25 static method topLevelOptional(dynamic beta, dynamic alpha, [dynamic gamma, dyna mic delta]) → dynamic {}
26 static method main() → dynamic { 18 static method main() → dynamic {
27 new self::Subclass::•().{self::Subclass::foo}(beta: 1, alpha: 2); 19 new self::Subclass::•().{self::Subclass::foo}(beta: 1, alpha: 2);
28 new self::Subclass::•().{self::Subclass::foo}(alpha: 1, beta: 2); 20 new self::Subclass::•().{self::Subclass::foo}(alpha: 1, beta: 2);
29 self::topLevelNamed(1, 2, gamma: 3, delta: 4); 21 self::topLevelNamed(1, 2, gamma: 3, delta: 4);
30 self::topLevelNamed(1, 2, delta: 3, gamma: 4); 22 self::topLevelNamed(1, 2, delta: 3, gamma: 4);
31 } 23 }
OLDNEW
« no previous file with comments | « pkg/kernel/testcases/strong-mode/micro.baseline.txt ('k') | pkg/kernel/testcases/strong-mode/optional.baseline.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698