1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-28 00:59:31 +00:00

Third test batch

This commit is contained in:
Étienne Fildadut 2023-12-30 23:39:10 +01:00
parent 3edf65dc2a
commit 0eea4b80a6
7 changed files with 131 additions and 1 deletions

View file

@ -65,7 +65,7 @@ local ScopeStack = class {
end
end
self:define_overloadable(sym, LuaFunction:new(parameters, func):eval(self.state))
elseif Node:is(value) then
elseif Node:issub(value) then
self:define(sym, value)
else
self:define(sym, to_anselme(value))