-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Restrict dart:mirrors
on DDC
#32294
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
Comments
I'm working on a CL for this. There are a few tests in |
I've got a ways to go before the CL is ready (because status files), but this CL fixes the tests: https://dart-review.googlesource.com/c/sdk/+/49624 |
any updates on this? |
Slowly making progress. This CL reduces signature data DDC stores: https://dart-review.googlesource.com/c/sdk/+/48455. More things will not be reflectable unless emit-metadata is enabled. I'm waiting on a code review. I fixed the language tests to reflect correct behavior in https://dart-review.googlesource.com/c/sdk/+/49624 (moving dart:mirrors tests into lib_2/mirrors, fixing tests that don't need to use mirrors, splitting a few other tests that legitimately tested both mirrors and non-mirrors functionality). However I can't send that CL out because it needs more status file fixes. Those are very difficult/time consuming so I'm not sure how long it will take. Once that lands, and we've got internal code fixed too, we can land a CL that restricts dart:mirrors import. I'll send you a message offline regarding internal repository details. |
this is the CL that disables mirrors (in DDC, need DDK as well) https://dart-review.googlesource.com/c/sdk/+/53163 ... I'm going to see if this can be rolled into internal code or if we need fixes there. |
Sent out test CL https://dart-review.googlesource.com/c/sdk/+/49624 |
https://dart.googlesource.com/sdk/+/3002e47e36e7072831c2e0ff061f56522480f493 landed, and sent out https://dart-review.googlesource.com/c/sdk/+/53163 for review, which will fix this bug. |
We're no longer supporting
dart:mirrors
on the web. We have limited support for it right now and theemit-metadata
flag is required to preserve some annotation info.We should:
emit-metadata
) - minimum bar for milestone@jmesserly
The text was updated successfully, but these errors were encountered: