mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-27 16:49:31 +00:00
Fix empty list conversion to lua
This commit is contained in:
parent
14ba34f8fd
commit
861330475e
2 changed files with 6 additions and 6 deletions
|
|
@ -29,7 +29,7 @@ common = {
|
|||
return nil, ("no formatter for type %q"):format(val.type)
|
||||
end
|
||||
end,
|
||||
-- lua value: if success
|
||||
-- lua value: if success (may be nil!)
|
||||
-- * nil, err: if error
|
||||
to_lua = function(val)
|
||||
if atypes[val.type] and atypes[val.type].to_lua then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue