OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012, 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 library GetterSetterInLibTest; | |
6 | |
7 import "package:expect/expect.dart"; | |
8 import 'getter_setter_in_lib.dart'; | |
9 import 'getter_setter_in_lib2.dart'; | |
10 import 'getter_setter_in_lib3.dart' as L3; | |
11 | |
12 main() { | |
13 Expect.equals(42, foo); | |
14 foo = 43; | |
15 Expect.equals(42, foo); | |
16 | |
17 Expect.equals(77, bar); | |
18 bar = 43; | |
19 Expect.equals(77, bar); | |
20 | |
21 Expect.equals(L3.bar, 33); | |
22 L3.bar = 44; | |
23 Expect.equals(L3.bar, 44); | |
24 } | |
OLD | NEW |