| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 // Regression test for 'staged' reflection. MirrorsUsed pulls in static |
| 6 // functions, that pulls in more reflection. This used to trigger a bug in |
| 7 // Enqueuer where the second set of pulled in definitions were unresolved. |
| 8 |
| 9 @MirrorsUsed(targets: const ["foo"]) |
| 10 import 'dart:mirrors'; |
| 11 |
| 12 final foo = reflect(reflect(9)).getField(#getField); |
| 13 |
| 14 void main() {} |
| OLD | NEW |