diff --git a/lapis/flow.lua b/lapis/flow.lua index f11e2270..684b9490 100644 --- a/lapis/flow.lua +++ b/lapis/flow.lua @@ -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) diff --git a/lapis/flow.moon b/lapis/flow.moon index f8ffce41..d33b8062 100644 --- a/lapis/flow.moon +++ b/lapis/flow.moon @@ -1,6 +1,8 @@ import type, getmetatable, setmetatable, rawset, rawget from _G +unpack = table.unpack or unpack + local Flow is_flow = (cls) ->