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?
to your account
As of 8daf4cf, dev_compiler now supports the loadLibrary() function on deferred libraries. However, it does not validate that you call that before the library is used. This currently runs:
import "something.dart" deferred as something;
// No loadLibrary() call.
It would be great if dev_compiler threw an error here. Otherwise, users can iterate on programs that work fine in dev_compiler but fail when a production build is run.
The text was updated successfully, but these errors were encountered:
This should be fixed as of https://dart-review.googlesource.com/c/sdk/+/177620!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.