Skip to content

ICE: Assertion 'context_p->stack_depth == context_p->context_stack_depth' failed at jerry-core/parser/js/js-parser-statm.c #5099

Open
@anbu1024

Description

@anbu1024

The latest version
commit: 05dbbd1

Build platform:
Ubuntu 20.04

Test case:

function foo(a) {
    return a;
}

class Bar {
    constructor(a) {
        this[a ||= (foo ^ 1) << 2] = foo;
    }
}

new Bar(foo);

build options

python tools/build.py --debug

error msg:

ICE: Assertion 'context_p->stack_depth == context_p->context_stack_depth' failed at jerry-core/parser/js/js-parser-statm.c(parser_parse_statements):2711.
Error: JERRY_FATAL_FAILED_ASSERTION
Aborted (core dumped)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourfuzzingRelated to fuzz testing of the engineparserRelated to the JavaScript parser

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions