ladybird/Libraries/LibJS/Rust
Andreas Kling 62ac304099 LibJS: Avoid naming parenthesized assignment functions
NamedEvaluation for assignment only applies when the left hand side is
an IdentifierRef. Parenthesized identifiers are still assignment
targets, but are not IdentifierRefs, so `(fn) = function () {}` must
leave the function anonymous.

Carry the parser's parenthesized-LHS bit into assignment codegen. Use
it when setting pending_lhs_name for plain and logical assignment, and
cover parenthesized assignment targets in the function-name tests.
2026-05-22 01:56:57 +02:00
..
src LibJS: Avoid naming parenthesized assignment functions 2026-05-22 01:56:57 +02:00
build.rs LibJS: Infer computed property function names 2026-05-22 01:56:57 +02:00
Cargo.toml LibJS: Use foldhash in parser and scope-collector hash maps 2026-05-05 13:53:51 +02:00
cbindgen.toml LibJS: Add bytecode validator scaffolding driven from Bytecode.def 2026-05-03 08:43:19 +02:00