Skip to content

Table init exprs appear to be unimplemented #5628

Open
@wingo

Description

@wingo

I would like to use tables of non-nullable values but Binaryen does not appear to support them.

Relatedly, the binary format parser does not appear to support init value expressions for tables.

I would note that there would appear to be some confusion about the encoding; in WebAssembly/function-references@3eea656, not part of a PR, the encoding becomes 0x40 0x00 tabletype expr, whereas V8 does not yet expect the 0x00 intermediate byte (and it's not in https://docs.google.com/document/d/1DklC3qVuOdLHSXB5UXghM_syCh-4cMinQ50ICiXnK3Q/edit#heading=h.3i2qhyi67r2d).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions