binaryen
binaryen copied to clipboard
Make `i31ref` and `dataref` nullable
Match the latest version of the GC spec. This change does not depend on V8 changing its interpretation of the shorthands because we are still temporarily not emitting the binary shorthands, but all Binaryen users will have to update their interpretations along with this change if they use the text or binary shorthands.
@askeska-google has requested that we merge this after merging a solution for https://github.com/WebAssembly/binaryen/issues/4824.