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

Side by Side Diff: pkg/kernel/testcases/spec-mode/named_parameters.baseline.txt

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
(Empty)
1 library;
2 import self as self;
3 import "dart:core" as core;
4
5 class Superclass extends core::Object {
6 constructor •() → void
7 : super core::Object::•()
8 ;
9 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 }
16 class Subclass extends self::Superclass {
17 constructor •() → void
18 : super self::Superclass::•()
19 ;
20 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 }
24 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 {
27 new self::Subclass::•().foo(beta: 1, alpha: 2);
28 new self::Subclass::•().foo(alpha: 1, beta: 2);
29 self::topLevelNamed(1, 2, gamma: 3, delta: 4);
30 self::topLevelNamed(1, 2, delta: 3, gamma: 4);
31 }
OLDNEW
« no previous file with comments | « pkg/kernel/testcases/spec-mode/micro.baseline.txt ('k') | pkg/kernel/testcases/spec-mode/null_aware.baseline.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698