Skip to content

PARSE_ERROR in for loops #156

Closed
Closed
@LaszloLango

Description

@LaszloLango

Jerry throws a PARSE_ERROR, if you try to invoke a function in the increment part of the for loop. This should be fixed to be able to run test262 tests.

Jerry version:
Checked revision: 0b1b102cfacb8b44b2b4a7d480cec34f91cc81a1
Build: debug.linux
OS:
Ubuntu 14.04, x86_64
Test case:
function dec(x) { return x - 1 };
for (var i = 0; i < 0; i = dec(i)) {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourcriticalRaises security concernsparserRelated to the JavaScript parser

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions