blob: 74c76d41340579682c42c7d65b92fbce7213bab4 [file] [log] [blame]
library main;
// Test that the library-mirrors are updated after loading a deferred library.
@MirrorsUsed(targets: "D")
import "dart:mirrors";
import "deferred_mirrors_update_lib.dart" deferred as l;
class D {}
void main() {
print(reflectClass(D).owner);
l.loadLibrary().then((_) {
l.foo();
});
}