Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

fix(promise): support more aggressive optimization. #431

Merged
merged 1 commit into from
Sep 9, 2016

Conversation

mprobst
Copy link
Contributor

@mprobst mprobst commented Sep 9, 2016

ZoneAwarePromise does not technically implement or inherit the static
side of Promise, so aggressive optimizers may drop static methods such
as all, race, reject, and resolve.

This change explicitly exports them into quoted properties, which is
harmless for normal use and protects users of more aggressive
optimizers, such as Closure Compiler in typed mode.

ZoneAwarePromise does not technically implement or inherit the static
side of Promise, so aggressive optimizers may drop static methods such
as `all`, `race`, `reject`, and `resolve`.

This change explicitly exports them into quoted properties, which is
harmless for normal use and protects users of more aggressive
optimizers, such as Closure Compiler in typed mode.
@mhevery mhevery merged commit 26fc3da into angular:master Sep 9, 2016
@vicb
Copy link
Contributor

vicb commented Sep 9, 2016

@mhevery @mprobst what about failing CI ?

Your test run exceeded 120 minutes. 
One possible solution is to split up your test run.

@mprobst
Copy link
Contributor Author

mprobst commented Sep 9, 2016 via email

@vicb
Copy link
Contributor

vicb commented Sep 9, 2016

yes it was, master is green. Sorry for the noise.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants