-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Define "dart.library.mirrors" and "dart.library.isolate" as false in dart2js #30539
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
FYI, some dependency cleanup: that may help if dart2js wants to disable "dart:isolate" import statically. |
@sigmundch is this done with the new FE? |
Not yet - in fact, dart.libraries.io incorrectly returns true now that we are using the CFE |
Work is in progress here. The main challenge is that we want to allow imports to these libraries and throw runtime errors instead of a static errors for a while longer. To support that we have to:
|
This is now working with some ad-hoc logic based on the old *.platform library configuration files. We need to later do some cleanup to make it solely depend on the new libraries.json specification file. |
Since Dart 2.0 does not support those libraries on the web (#30538), the
fromEnvironment()
flags for those should return false.The text was updated successfully, but these errors were encountered: