Skip to content
This repository was archived by the owner on Nov 3, 2021. It is now read-only.
This repository was archived by the owner on Nov 3, 2021. It is now read-only.

Naming of segments vs the table they belong to #122

@sbc100

Description

@sbc100

Perhaps I'm missing some context but its seems like previouly valid wat files are no longer valid under this proposal because the meaning on the $name in the top level elem segments changed:

(elem $foo (i32.const 0))

Currently $foo names a table, but with this proposal $foo now names the element segment itself.

This change be seen in the changes to test/core/elem.wast compared to upstream.

This (AFAICT) s causing some problems in in wabt today: WebAssembly/wabt#1193.

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