The mirrors library does not understand extensions #43086
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
closed-not-planned
Closed as we don't intend to take action on the reported issue
library-mirrors
type-enhancement
A request for a change that isn't a bug
The
dart:mirrors
library has no notion of extensions.It doesn't expose an
extension
declaration as a member of the library it's declared in. Instead it exposes the synthetic top-level declarations that the extension is desugared into. Exposing those is definitely wrong.Example:
The mirrors library should either be deprecated or be made compatible with new language features.
The text was updated successfully, but these errors were encountered: