blob: 16af23643fdd261e0bdd9c8d16ebfe7e34526025 [file] [log] [blame]
// @dart = 2.9
library main;
// Test that the library-mirrors are updated after loading a deferred library.
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();
});
}