OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 // Additional Dart code may be 'placed on' hidden native classes. With | 5 // Additional Dart code may be 'placed on' hidden native classes. With |
6 // inheritance, the superclass method must not be reached by a call on the | 6 // inheritance, the superclass method must not be reached by a call on the |
7 // subclass. | 7 // subclass. |
8 | 8 |
9 class A native "*A" { | 9 class A native "*A" { |
10 var _field; | 10 var _field; |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 } | 136 } |
137 | 137 |
138 main() { | 138 main() { |
139 testBasicA_dynamic(); | 139 testBasicA_dynamic(); |
140 testBasicA_typed(); | 140 testBasicA_typed(); |
141 testBasicB_dynamic(); | 141 testBasicB_dynamic(); |
142 testBasicB_typed(); | 142 testBasicB_typed(); |
143 testAB_dynamic(); | 143 testAB_dynamic(); |
144 testAB_typed(); | 144 testAB_typed(); |
145 } | 145 } |
OLD | NEW |