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 #library('PrivateMemberLibA'); | 5 library PrivateMemberLibA; |
6 | 6 |
7 #import('private_member1_lib_b.dart'); | 7 import 'private_member1_lib_b.dart'; |
8 | 8 |
9 class A {} | 9 class A {} |
10 | 10 |
11 class Test extends B { | 11 class Test extends B { |
12 test() { | 12 test() { |
13 _instanceField = true; | 13 _instanceField = true; |
14 } | 14 } |
15 } | 15 } |
16 | 16 |
17 void main() { | 17 void main() { |
18 new Test().test(); | 18 new Test().test(); |
19 } | 19 } |
OLD | NEW |