OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2015, the Dart Team. All rights reserved. Use of this | |
2 // source code is governed by a BSD-style license that can be found in | |
3 // the LICENSE file. | |
4 | |
5 // File being transformed by the reflectable transformer. | |
sigurdm
2015/10/09 07:52:04
Could be doc-comment of the library annotation.
eernst
2015/10/09 10:09:05
Ah, didn't think about that! Done.
| |
6 // Part of the entry point 'meta_reflectors_test.dart'. | |
7 // | |
8 // Independence: The "domain classes" `M1`..`M3`, `A`..`D`, `P` are assumed to | |
9 // be specific to the particular entry point 'meta_reflectors_test.dart' and | |
10 // its transitive closure, but there is no dependency from them to any of the | |
11 // libraries introducing or using reflectable reflection. | |
12 | |
13 library test_reflectable.test.meta_reflectors_share; | |
14 | |
15 class P { | |
16 const P(); | |
17 } | |
18 | |
19 @P() | |
20 class M1 { | |
21 foo() {} | |
22 var field; | |
23 static staticFoo(x) {} | |
24 } | |
25 | |
26 class M2 {} | |
27 | |
28 class M3 {} | |
29 | |
30 class A { | |
31 foo() {} | |
32 var field; | |
33 static staticFoo(x) {} | |
34 static staticBar() {} | |
35 } | |
36 | |
37 class B extends A with M1 {} | |
38 | |
39 class C extends B with M2, M3 {} | |
40 | |
41 class D = A with M1; | |
OLD | NEW |