Skip to content

[spec] Parsing and validation in a single pass seems to be discouraged #1170

@axic

Description

@axic

This test case in binary.wast (https://github.com/WebAssembly/spec/blob/v1.1/test/core/binary.wast#L739-L759) tests for assert_malformed, e.g. parser error. However it also contains a validation error.

This turns out to pose a difficulty to engines, which would try to do parsing and (or a part of) validation in a single pass.

Is this intentional?

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