Skip to content

Control flow operators type checking #272

@naturaltransformation

Description

@naturaltransformation

Returns are desugared into brs, which may yield a value, before type checking, but the design docs require that return not yield a value https://github.com/WebAssembly/design/blob/master/AstSemantics.md#yielding-values-from-control-constructs. This behavior is used in certain test cases. Is this seeming discrepancy resolved somehow? Thanks!

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