-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove MirrorsUsed and Comment from dart:mirrors before Dart 2.0 release #32507
Comments
For a transitional period, we still allow importing dart:mirrors from dart2js, but we fail at runtime. That means that using the We should time these changes to happen at once. |
At a minimum, we should mark |
Fixed (MirrosUsed marked as deprecated) in cdc520f |
The issue is for removal, not deprecation. |
|
We still want to get rid of it, but there were other higher-priority issues in the Dart 2.0 release, so it didn't make it there. It doesn't do anything anymore, so we should be able to remove it at any time (preferably along with some other deprecated declarations, in one fell breaking change). |
Is there any alternatives for escaping from tree shaking? https://github.com/google/reflectable.dart seams to be stale as well |
The package reflectable hasn't been abandoned, I'm keeping it alive in my spare time. It hasn't been updated to handle types with nullability (so if you have a Ah, by the way, you might be able to test nullability using So you could take a look at reflectable! ;-) |
Thanks a lot. I'll try it and post the result later |
Dart2JS no longer implements mirrors; as such its cruft should be removed from mirrors.
The text was updated successfully, but these errors were encountered: