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 @initializeTracker | 4 @initializeTracker |
5 library initialize.test.foo.bar; | 5 library initialize.test.foo.bar; |
6 | 6 |
| 7 export '../foo.dart'; |
7 import '../foo.dart'; | 8 import '../foo.dart'; |
8 import 'package:initialize/src/initialize_tracker.dart'; | 9 import 'package:initialize/src/initialize_tracker.dart'; |
9 | 10 |
10 // Foo should be initialized first. | 11 // Foo should be initialized first. |
11 @initializeTracker | 12 @initializeTracker |
12 class Bar extends Foo {} | 13 class Bar extends Foo {} |
13 | 14 |
14 @initializeTracker | 15 @initializeTracker |
15 bar() {} | 16 bar() {} |
OLD | NEW |