WithStatement evaluation updates empty statement completions to undefined. The bytecode generator reused the surrounding completion register while compiling the with body, so an empty break or continue could leak the enclosing loop's previous completion value. Give the with body its own completion register initialized to undefined and add regression coverage for abrupt exits from the body. |
||
|---|---|---|
| .. | ||
| bytecode | ||
| parser | ||
| ast.rs | ||
| ast_dump.rs | ||
| bytecode_cache.rs | ||
| fast_hash.rs | ||
| lexer.rs | ||
| lib.rs | ||
| parser.rs | ||
| scope_collector.rs | ||
| token.rs | ||