Duplicate sloppy block function declarations append duplicate runtime bindings, and name lookup resolves to the newest slot. The bytecode coordinate tracker was keeping the first slot instead, so a second InitializeLexicalBinding could target an already initialized binding when running through the C++ interpreter. Record every emitted binding creation and let later duplicates replace the coordinate map entry, matching the way DeclarativeEnvironment appends bindings. |
||
|---|---|---|
| .. | ||
| src | ||
| build.rs | ||
| Cargo.toml | ||
| cbindgen.toml | ||