Skip to content

Commit

Permalink
fix missing unpack for flow memo
Browse files Browse the repository at this point in the history
  • Loading branch information
leafo committed Nov 3, 2023
1 parent c44c9aa commit 2871ab9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions lapis/flow.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ do
local _obj_0 = _G
type, getmetatable, setmetatable, rawset, rawget = _obj_0.type, _obj_0.getmetatable, _obj_0.setmetatable, _obj_0.rawset, _obj_0.rawget
end
local unpack = table.unpack or unpack
local Flow
local is_flow
is_flow = function(cls)
Expand Down
2 changes: 2 additions & 0 deletions lapis/flow.moon
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@

import type, getmetatable, setmetatable, rawset, rawget from _G

unpack = table.unpack or unpack

local Flow

is_flow = (cls) ->
Expand Down

0 comments on commit 2871ab9

Please sign in to comment.