mirror of
https://github.com/gvx/Ser.git
synced 2024-11-14 18:34:22 +00:00
Fix typo
This commit is contained in:
parent
c6d9904da7
commit
f397c73f77
2
ser.lua
2
ser.lua
@ -14,7 +14,7 @@ local function write(t, memo, rev_memo)
|
|||||||
if ty == 'number' then
|
if ty == 'number' then
|
||||||
t = format("%.17g", t)
|
t = format("%.17g", t)
|
||||||
return oddvals[t] or t
|
return oddvals[t] or t
|
||||||
elseif or ty == 'boolean' or ty == 'nil' then
|
elseif ty == 'boolean' or ty == 'nil' then
|
||||||
t = tostring(t)
|
t = tostring(t)
|
||||||
return tostring(t)
|
return tostring(t)
|
||||||
elseif ty == 'string' then
|
elseif ty == 'string' then
|
||||||
|
Loading…
Reference in New Issue
Block a user