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

Side by Side Diff: tests/kernel/unsorted/global_function_test.dart

Issue 2451623006: Reland "Merge more Kernel infrastructure from kernel_sdk SDK fork." (Closed)
Patch Set: Fix Created 4 years, 1 month 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 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 main() {
6 foo(1, 2);
7 print('---');
8 foo(1, 2, d: 12);
9 print('---');
10 foo(1, 2, c: 11, e: 13);
11
12 print('=====');
13
14 bar(1, 2);
15 print('---');
16 bar(1, 2, 3);
17 print('---');
18 bar(1, 2, 3, 4);
19 }
20
21 foo(a, b, {c, d, e}) {
22 print(a);
23 print(b);
24 print(c);
25 print(d);
26 print(e);
27 }
28
29 bar(a, b, [c, d]) {
30 print(a);
31 print(b);
32 print(c);
33 print(d);
34 }
35
OLDNEW
« no previous file with comments | « tests/kernel/unsorted/global_field_initializer_test.dart ('k') | tests/kernel/unsorted/instance_getters_and_setters_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698