mirror of
https://github.com/leafo/moonscript.git
synced 2024-11-22 02:44:23 +00:00
remove V cache #150
This commit is contained in:
parent
9ae7df38df
commit
f7beade09c
@ -58,7 +58,6 @@ wrap_env = function(debug, fn)
|
||||
end
|
||||
if name:match("^[A-Z][A-Za-z0-9]*$") then
|
||||
local v = wrap_name(name)
|
||||
rawset(self, name, v)
|
||||
return v
|
||||
end
|
||||
return error("unknown variable referenced: " .. tostring(name))
|
||||
|
@ -41,7 +41,6 @@ wrap_env = (debug, fn) ->
|
||||
|
||||
if name\match"^[A-Z][A-Za-z0-9]*$"
|
||||
v = wrap_name name
|
||||
rawset @, name, v
|
||||
return v
|
||||
|
||||
error "unknown variable referenced: #{name}"
|
||||
|
Loading…
Reference in New Issue
Block a user