// @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(); | |
}); | |
} |