Files
vectorcraft/crates/scriptcheck
dotCooCoo 00cf8a148f Scripts: a global property assignment in a function ends a later literal's own saveAs
A function body that assigns `$.global.name`, `globalThis.name` or
`$.global['name']` may run after a later literal gives `name` its methods,
as `this.name` already did. The assignment now records the name as
reassigned later, so the literal's later calls keep reporting the write.
An assignment in the global code runs once and still leaves a later
literal's methods the script's own.

The shadowing test is split so the named-global case and the computed-key
case each check their own line.
2026-12-01 08:47:08 -08:00
..