Resolve strict global-looking assignment targets before evaluating their right-hand side instead of lowering them directly to SetGlobal. Preserve the original unresolvable reference for PutValue so a RHS-created global cannot hide the ReferenceError. Add a runtime test for that ordering and update the bytecode expectation for a strict top-level assignment that now uses SetResolvedBinding. |
||
|---|---|---|
| .. | ||
| bytecode | ||
| parser | ||
| ast.rs | ||
| ast_dump.rs | ||
| bytecode_cache.rs | ||
| fast_hash.rs | ||
| lexer.rs | ||
| lib.rs | ||
| parser.rs | ||
| scope_collector.rs | ||
| token.rs | ||