Resolve constant assignments by scope and skip overwrites #23
Reference in New Issue
Block a user
Delete Branch "benvin/gentypes-guard-constants"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A constant assignment binds its name in the lexical scope, and overwriting an existing constant only warns while replacing it for every later reader. w10k checked bare names against a fixed list, so
module Puppet; Util = 1generated where puppet breaks, and a harmless top-levelType = 1skipped.X ||= vas depending on other inputs, and opening a value constant as a class or module as an error