Skip to content

multiple blocks can have the same label. Is this correct? #303

Closed

Description

@wanderer

multiple blocks can have the same label. Is this correct behavior?
example

(module
  (start $main)
  (func $main 
    (block $0 
        (block $0 
         (br $0)
        ))))

Activity

  1. kripken commented on Jul 1, 2016

    @kripken
    Member

    I believe so. The name is scoped, so the br sees the closest one to it, basically.

  2. rossberg commented on Jul 1, 2016

    @rossberg
    Member

    Right, labels simply use ordinary lexical scoping.

  3. added a commit that references this issue on Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to 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