OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 test.metadata_with_type_literal; | 5 library test.metadata_allowed_values; |
6 | 6 |
7 import 'dart:mirrors'; | 7 import 'dart:mirrors'; |
8 import 'package:expect/expect.dart'; | 8 import 'package:expect/expect.dart'; |
9 | 9 |
10 import 'metadata_allowed_values_import.dart'; // Unprefixed. | 10 import 'metadata_allowed_values_import.dart'; // Unprefixed. |
11 import 'metadata_allowed_values_import.dart' as prefix; | 11 import 'metadata_allowed_values_import.dart' as prefix; |
12 | 12 |
13 @A /// 01: compile-time error | 13 @A /// 01: compile-time error |
14 class A {} | 14 class A {} |
15 | 15 |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 reflectClass(BB).metadata; | 178 reflectClass(BB).metadata; |
179 reflectClass(CC).metadata; | 179 reflectClass(CC).metadata; |
180 reflectClass(DD).metadata; | 180 reflectClass(DD).metadata; |
181 reflectClass(EE).metadata; | 181 reflectClass(EE).metadata; |
182 reflectClass(FF).metadata; | 182 reflectClass(FF).metadata; |
183 reflectClass(GG).metadata; | 183 reflectClass(GG).metadata; |
184 reflectClass(HH).metadata; | 184 reflectClass(HH).metadata; |
185 reflectClass(II).metadata; | 185 reflectClass(II).metadata; |
186 reflectClass(JJ).metadata; | 186 reflectClass(JJ).metadata; |
187 } | 187 } |
OLD | NEW |