about summary refs log tree commit diff stats
path: root/read.lua
diff options
context:
space:
mode:
authorCase Duckworth2024-04-16 22:28:51 -0500
committerCase Duckworth2024-04-16 22:28:51 -0500
commitd8bc4b0236cc09ac45323bffcd740388aab57e1d (patch)
tree9f96cfeaaabf708ef61f30934196cccc8bce65c8 /read.lua
parentDon't error on empty input (diff)
downloadlam-d8bc4b0236cc09ac45323bffcd740388aab57e1d.tar.gz
lam-d8bc4b0236cc09ac45323bffcd740388aab57e1d.zip
Fix a subtle bug in adding parameters to local procedure envs
I couldn't use e[p[1]] = r[1] because that invokes environment's __newindex
metamethod, which is equivalent to `set!' -- that is, it mutates the existing
binding from the closest enclosing environment
Diffstat (limited to 'read.lua')
0 files changed, 0 insertions, 0 deletions