-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
implement deferred libraries #27343
Labels
P1
A high priority bug; for example, a single project is unusable or has many test failures
web-dev-compiler
Comments
@vsmenon just hit this |
@jmesserly - can you help @munificent get started on this? will we need any hooks in the module layer for this? Note, we can break this into:
Only the first is P1. |
If you don't want to make it actually lazy, you shouldn't need anything but supporting the syntax. |
That sounds like a great step 1. Ideally, we'd enforce the laziness as well. Let me refine the list above. |
munificent
added a commit
that referenced
this issue
Nov 7, 2016
References to loadLibrary on a library prefix are compiled to a helper function that returns a Future that always completes successfully. The deferred libraries aren't actually deferred, but code that uses loadLibrary() now doesn't barf. BUG=#27343 R=vsm@google.com Review URL: https://codereview.chromium.org/2477673006 .
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
P1
A high priority bug; for example, a single project is unusable or has many test failures
web-dev-compiler
From @jmesserly on August 31, 2015 16:14
Copied from original issue: dart-archive/dev_compiler#305
The text was updated successfully, but these errors were encountered: