chakra-core / chakra-core/ChakraCore
ASSERTION 453147: (ChakraCore/lib/Backend/FlowGraph.cpp, line 2078) this->func->IsLoopBodyInTry()
- Dominant language
- JavaScript
- Stars
- 9.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
ChakraCore version:
commit c3ead3f
Build cmd:
```shell
./build.sh --debug --static
```
Test case:
```js
function foo()
{
for (let i = 0; i < 16; i++) {
try {
const s = ~"__proto__";
switch (s) {
case s:
try {
break;
}
finally {
}
break;
default:
break;
}
}
catch(e) {
;
}
}
}
let i = 0;
while(i < 1024)
{
foo();
i++;
}
```
Execute
```shell
./ch ./test.js
```
Error msg:
```
ASSERTION 453147: (ChakraCore/lib/Backend/FlowGraph.cpp, line 2078) this->func->IsLoopBodyInTry()
Failure: (this->func->IsLoopBodyInTry())
Illegal instruction (core dumped)
```
Contributor guide
Assessment
This issue has not been assessed yet.