Skip to content

Compiler: The following function fails to compile #2434

Open
@mariusGundersen

Description

It seems like you have to put something in the third part of a for(;;) loop. The following fails to compile:

function test(input) {
  "compiled";
  for (var i = 0; i < input.length; ) {
    i++;
  }
}

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