jerryscript-project/jerryscript

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

anbu1024 opened this issue · 0 comments

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)