Skip to content

Commit

Permalink
Address luacheck issue
Browse files Browse the repository at this point in the history
  • Loading branch information
y5nw committed Feb 9, 2024
1 parent 3cfc207 commit 7a517e1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions builtin/common/serialize.lua
Original file line number Diff line number Diff line change
Expand Up @@ -249,12 +249,12 @@ local function serialize(value, write)
write(";")
end
end
for value, data in pairs(serialized) do
local vref = references[value]
local typename = typenames[value]
if vref then
for obj, data in pairs(serialized) do
local oref = references[obj]
local typename = typenames[obj]
if oref then
write("_[")
write(vref)
write(oref)
write("]=D(")
dump(data)
write(",")
Expand Down

0 comments on commit 7a517e1

Please sign in to comment.