| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 // Successful test: output div contains "future!". | 5 library library_imports_metadata; |
| 6 |
| 7 @m1 |
| 8 import 'dart:mirrors' as mirrors; |
| 9 |
| 10 @m2 @m3 |
| 11 import 'dart:collection'; |
| 6 | 12 |
| 7 import 'dart:async'; | 13 import 'dart:async'; |
| 8 | 14 |
| 9 const greeting = "Hello, cool people doing nice things!"; | 15 const m1 = const Object(); |
| 10 | 16 const m2 = const Object(); |
| 11 // Prints a greeting. | 17 const m3 = const Object(); |
| 12 void main() { | |
| 13 print(greeting); | |
| 14 | |
| 15 new Future(() => print("future!")); | |
| 16 } | |
| OLD | NEW |