OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 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 | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 // Test file for testing source mappings of invocations. | 5 // Test file for testing source mappings of invocations. |
6 | 6 |
7 var counter = 0; | 7 var counter = 0; |
8 var bucket; | 8 var bucket; |
9 | 9 |
10 main(args) { | 10 main(args) { |
(...skipping 18 matching lines...) Expand all Loading... |
29 var localVariable = () { | 29 var localVariable = () { |
30 counter++; | 30 counter++; |
31 }; | 31 }; |
32 localFunction() { | 32 localFunction() { |
33 counter++; | 33 counter++; |
34 } | 34 } |
35 | 35 |
36 parameter(); | 36 parameter(); |
37 localVariable(); | 37 localVariable(); |
38 localFunction(); | 38 localFunction(); |
| 39 (parameter)(); |
39 | 40 |
40 parameter.dynamicInvoke(); | 41 parameter.dynamicInvoke(); |
41 new C(parameter).instanceInvokes(); | 42 new C(parameter).instanceInvokes(); |
42 } | 43 } |
43 | 44 |
44 toplevelFunction() { | 45 toplevelFunction() { |
45 counter++; | 46 counter++; |
46 } | 47 } |
47 | 48 |
48 var toplevelField = () { | 49 var toplevelField = () { |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 super.superMethod(); | 119 super.superMethod(); |
119 super.superField(); | 120 super.superField(); |
120 super.superGetter(); | 121 super.superGetter(); |
121 | 122 |
122 C(); | 123 C(); |
123 dynamic(); | 124 dynamic(); |
124 F(); | 125 F(); |
125 T(); | 126 T(); |
126 } | 127 } |
127 } | 128 } |
OLD | NEW |