Resolve constant assignments by scope and skip overwrites #23

Open
unkin-agent wants to merge 2 commits from benvin/gentypes-guard-constants into benvin/gentypes-guard-regex

2 Commits

Author SHA1 Message Date
unkin-agent 306397353f Merge remote-tracking branch 'origin/benvin/gentypes-guard-regex' into benvin/gentypes-guard-constants
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
2026-11-10 00:16:24 +11:00
unkin-agent 8eddf844c4 Resolve constant assignments by scope and skip overwrites
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
A constant binds its name in the lexical scope and replacing an existing one
changes it for every later reader, so the full name is checked against
openvox's and every loaded file's constants, which one world now shares.
X ||= v depends on what other inputs defined, and a value constant is not
a class or module.
2026-11-10 00:13:49 +11:00