Skip to content

Fix crash on reference typed constant #2238

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

Merged
merged 2 commits into from
Mar 25, 2022
Merged

Fix crash on reference typed constant #2238

merged 2 commits into from
Mar 25, 2022

Conversation

dcodeIO
Copy link
Member

@dcodeIO dcodeIO commented Mar 25, 2022

Fixes #2209. Does not yet tackle the issue when using (experimental) GC types like dataref, which currently leads to a(n expected) Binaryen crash due to nullability not being up-to-date. Already works for anyref, though, as it is nullable.

  • I've read the contributing guidelines
  • I've added my name and email to the NOTICE file

@dcodeIO dcodeIO merged commit 6e7c8f4 into main Mar 25, 2022
@HerrCai0907 HerrCai0907 deleted the issue-2209 branch October 17, 2023 08:59
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.

Assigning null to a const declaration annotated with anyref crashes the compiler
1 participant