Skip to content
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

Guarantee static_method_of uses the right this #1795

Merged
merged 1 commit into from Sep 26, 2019

Conversation

alexcrichton
Copy link
Contributor

This came up during #1760 where Promise.resolve must be invoked with
this as the Promise object, but we were erroneously importing it in
such a way that it didn't have a shim and this was undefined.

This came up during rustwasm#1760 where `Promise.resolve` must be invoked with
`this` as the `Promise` object, but we were erroneously importing it in
such a way that it didn't have a shim and `this` was `undefined`.
@alexcrichton alexcrichton merged commit 0b1a764 into rustwasm:master Sep 26, 2019
@alexcrichton alexcrichton deleted the static-method-of-this branch September 26, 2019 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant