Skip to content

Allow nested consumer usage#330

Merged
fitzgen merged 3 commits into
mozilla:masterfrom
ds300:fix/callback-stack
Apr 23, 2018
Merged

Allow nested consumer usage#330
fitzgen merged 3 commits into
mozilla:masterfrom
ds300:fix/callback-stack

Conversation

@ds300
Copy link
Copy Markdown

@ds300 ds300 commented Apr 21, 2018

Hi! 👋

I was excited to test out the latest source-map for react-native-typescript-transformer and ran into an issue with the way the wasm consumer bindings are written. They assume that the callback passed to, e.g. eachMapping will not make use of another consumer. This resulted in an error which I created a regression test for in this PR, along with a fix.

Cheers!

@ds300
Copy link
Copy Markdown
Author

ds300 commented Apr 22, 2018

Looks like this fixes #319 too

Copy link
Copy Markdown
Contributor

@fitzgen fitzgen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ds300 !

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.

2 participants