OLD | NEW |
| (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.md file. | |
4 | |
5 import 'dart:collection' as collection; | |
6 | |
7 typedef void VoidFunction(); | |
8 | |
9 class Fisk { | |
10 it1(x) { | |
11 for (key in x) { | |
12 print(key); | |
13 } | |
14 for (Fisk in x) { | |
15 print(Fisk); | |
16 } | |
17 for (collection in x) { | |
18 print(collection); | |
19 } | |
20 for (VoidFunction in x) { | |
21 print(VoidFunction); | |
22 } | |
23 for (1 in x) { | |
24 print(key); | |
25 } | |
26 } | |
27 } | |
28 | |
29 main(arguments) { | |
30 new Fisk(); | |
31 for (key in arguments) { | |
32 print(key); | |
33 } | |
34 for (Fisk in arguments) { | |
35 print(Fisk); | |
36 } | |
37 for (collection in arguments) { | |
38 print(collection); | |
39 } | |
40 for (VoidFunction in arguments) { | |
41 print(VoidFunction); | |
42 } | |
43 for (1 in arguments) { | |
44 print(key); | |
45 } | |
46 } | |
OLD | NEW |