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

[WasmFinalizeExportsPlugin] check if ref is null before using it #8266

Merged
merged 3 commits into from
Oct 24, 2018

Conversation

ljqx
Copy link
Member

@ljqx ljqx commented Oct 24, 2018

For fixing #8261

What kind of change does this PR introduce?
a bugfix

Did you add tests for your changes?
yes

Does this PR introduce a breaking change?
no

What needs to be documented once your changes are merged?
no as it's a bugfix

@webpack-bot
Copy link
Contributor

For maintainers only:

  • This need to be documented (issue in webpack/webpack.js.org will be filed when merged)

@sokra sokra merged commit 298fa4c into webpack:master Oct 24, 2018
@sokra
Copy link
Member

sokra commented Oct 24, 2018

Thanks

@MaxBittker
Copy link

thanks ya'll 👍

(func (export "a") (result i32)
(i32.const 1)
)
)
Copy link
Member

Choose a reason for hiding this comment

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

This would also work for the test:

(module
  (func (export "a"))
)

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks, sent a new PR #8286 to improve it.

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

Successfully merging this pull request may close these issues.

None yet

5 participants