Skip to content

[Errors] break/continue across function boundary #57

Closed
@mhegazy

Description

@mhegazy
while (true) {
      function f() {
        break;
      }
    }

Expected: Jump target cannot cross function boundary.

Actual: no error

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions