dart2js: LibraryMirror.classes includes synthetic classes for closures #13439
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)
fails part of library_declarations_test
import 'dart:mirrors';
class C {}
main(){
[1, 2].forEach((x)=>print(x));
print(reflectClass(C).owner.classes.values.toList());
}
prints:
1
2
[ClassMirror on 'C', ClassMirror on 'main_closure']
The text was updated successfully, but these errors were encountered: