diff options
author | Case Duckworth | 2024-04-16 22:28:51 -0500 |
---|---|---|
committer | Case Duckworth | 2024-04-16 22:28:51 -0500 |
commit | d8bc4b0236cc09ac45323bffcd740388aab57e1d (patch) | |
tree | 9f96cfeaaabf708ef61f30934196cccc8bce65c8 /read.lua | |
parent | Don't error on empty input (diff) | |
download | lam-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