Skip to content

Replace traps with assertions #4923

Closed
@ashleynh

Description

@ashleynh

Please replace this (and below) with an assertion. A trap is not needed here since this should be impossible in a valid wasm module, and we can assume it is valid basically anywhere (except for the validator itself).

Originally posted by @kripken in #4811 (comment)

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