Skip to content

Handle blocks that have multiple paths to the same successor #156

Description

@dcbaker

Especially with continue and break, it's very possible to end up in a situation where there are multiple exits from a block to the same block, as:

foreach a: [b, c, d]
  if meson.has_header(a)
    break
  endif
endforeach

will end up in the tail of the loop block if the break statement is reached or if the foreach loop is exhausted.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions