chakra-core / chakra-core/ChakraCore
ASSERTION Failure: (scopeSlotCount != 0)
Open
- Dominant language
- JavaScript
- Stars
- 9.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
The following case triggers assertion failure.
```js
(function foo() {
function bar() {
foo;
}
with (1) foo();
})();
```
```
ASSERTION 20300: (E:\ChakraCore\lib\Runtime\Language\InterpreterStackFrame.cpp, line 7558) scopeSlotCount != 0
Failure: (scopeSlotCount != 0)
FATAL ERROR: ch.exe failed due to exception code c0000420
```
Reproduced on commit `45de85381bbb83dda9899e88e115d0e99a69e99c`
Contributor guide
Assessment
This issue has not been assessed yet.