## JerryScript commit hash
55acdf2048b390d0f56f12e64dbfb2559f0e70ad

## Build platform
Ubuntu 20.04 LTS

## Build steps
```
./tools/build.py --clean --debug --compile-flag=-fsanitize=address \
--compile-flag=-m32 --compile-flag=-fno-omit-frame-pointer \
--compile-flag=-fno-common --compile-flag=-g \
--strip=off --system-allocator=on --logging=on \
--linker-flag=-fuse-ld=gold --error-messages=on --line-info=ON \
--stack-limit=10
```

## poc
```
function foo(a, i) {
    a[i] = 1;
    return a[i];
}
class MyArray extends class C extends Array {

} {

}
;
o = new MyArray();
print(foo);
print(1, foo(o, 0));
print(1, foo(o, 1));
o.__proto__.__proto__ = new Int32Array(2);
print(undefined, foo(o, 2));
print(undefined, foo(o, 2));
```

## assert log

```
ICE: Assertion 'context_p->scope_stack_size == PARSER_MAXIMUM_DEPTH_OF_SCOPE_STACK' failed at /home/sakura/jerryscript/jerry-core/parser/js/js-parser-expr.c(parser_parse_class):1160.
Error: ERR_FAILED_INTERNAL_ASSERTION

```
Assertion 'context_p->scope_stack_size == PARSER_MAXIMUM_DEPTH_OF_SCOPE_STACK' failed at jerry-core/parser/js/js-parser-expr.c(parser_parse_class):1160
This is a GitHub Issue
repo:jerryscript
owner:jerryscript-project
Title : Assertion 'context_p->scope_stack_size == PARSER_MAXIMUM_DEPTH_OF_SCOPE_STACK' failed at jerry-core/parser/js/js-parser-expr.c(parser_parse_class):1160
Issue date:

--- start body ---
## JerryScript commit hash
55acdf2048b390d0f56f12e64dbfb2559f0e70ad

## Build platform
Ubuntu 20.04 LTS

## Build steps
```
./tools/build.py --clean --debug --compile-flag=-fsanitize=address \
--compile-flag=-m32 --compile-flag=-fno-omit-frame-pointer \
--compile-flag=-fno-common --compile-flag=-g \
--strip=off --system-allocator=on --logging=on \
--linker-flag=-fuse-ld=gold --error-messages=on --line-info=ON \
--stack-limit=10
```

## poc
```
function foo(a, i) {
    a[i] = 1;
    return a[i];
}
class MyArray extends class C extends Array {

} {

}
;
o = new MyArray();
print(foo);
print(1, foo(o, 0));
print(1, foo(o, 1));
o.__proto__.__proto__ = new Int32Array(2);
print(undefined, foo(o, 2));
print(undefined, foo(o, 2));
```

## assert log

```
ICE: Assertion 'context_p->scope_stack_size == PARSER_MAXIMUM_DEPTH_OF_SCOPE_STACK' failed at /home/sakura/jerryscript/jerry-core/parser/js/js-parser-expr.c(parser_parse_class):1160.
Error: ERR_FAILED_INTERNAL_ASSERTION

```
--- end body ---
