ladybird/Libraries/LibJS/Rust/src
Andreas Kling 19c1cae030 LibJS: Preserve strict unresolvable assignment references
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.
2026-05-22 14:30:35 +02:00
..
bytecode LibJS: Preserve strict unresolvable assignment references 2026-05-22 14:30:35 +02:00
parser LibJS: Allow parenthesized dynamic import under new 2026-05-22 14:30:35 +02:00
ast.rs LibJS: Hoist sloppy labelled function declarations 2026-05-22 01:56:57 +02:00
ast_dump.rs LibJS: Move ScopeData into ScopeArena and reference it by ScopeId 2026-05-05 13:53:51 +02:00
bytecode_cache.rs LibJS: Track shared function data ownership 2026-05-22 10:54:44 +02:00
fast_hash.rs LibJS: Use foldhash in parser and scope-collector hash maps 2026-05-05 13:53:51 +02:00
lexer.rs LibJS: Intern identifier names in a per-arena string table 2026-05-05 13:53:51 +02:00
lib.rs LibJS: Track shared function data ownership 2026-05-22 10:54:44 +02:00
parser.rs LibJS: Check strict destructured parameter names 2026-05-22 01:56:57 +02:00
scope_collector.rs LibJS: Hoist sloppy labelled function declarations 2026-05-22 01:56:57 +02:00
token.rs LibJS: Intern identifier names in a per-arena string table 2026-05-05 13:53:51 +02:00