Skip to content

[Errors] break/continue outside iteration/switch statements #53

Closed

Description

var x = 1;
break;
continue;

Expected:
'break' statement can only be used within an enclosing iteration or switch statement.
'continue' statement can only be used within an enclosing iteration statement.

Actual: no error
Error must be syntactic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugFixed

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions