Class is not emitted for reflection if it is not instantiated. #12799
Labels
closed-obsolete
Closed as the reported issue is no longer relevant
library-mirrors
P2
A bug or feature request we're likely to work on
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
web-dart2js
This fails:
@MirrorsUsed(targets: 'C.foo')
import 'dart:mirrors';
class C {
static var foo;
static var bar;
}
main() => reflectClass(C);
The text was updated successfully, but these errors were encountered: