OLD | NEW |
| (Empty) |
1 // Copyright (c) 2015, 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 var exports = 42; | |
6 | |
7 class Foo { | |
8 _foo() => 123; | |
9 } | |
10 | |
11 _foo() => 456; | |
12 | |
13 class Frame { | |
14 final List arguments; | |
15 Frame.caller(this.arguments); | |
16 static callee() => null; | |
17 } | |
18 | |
19 | |
20 class Frame2 { | |
21 static int caller = 100; | |
22 static int arguments = 200; | |
23 } | |
24 | |
25 main() { | |
26 print(exports); | |
27 print(new Foo()._foo()); | |
28 print(_foo()); | |
29 print(new Frame.caller([1,2,3])); | |
30 var eval = Frame.callee; | |
31 print(eval); | |
32 print(Frame2.caller + Frame2.arguments); | |
33 } | |
OLD | NEW |