From 2871ab9661a97f0ce3f622e9d9504a596a83c727 Mon Sep 17 00:00:00 2001 From: leaf corcoran Date: Fri, 3 Nov 2023 10:32:22 -0700 Subject: [PATCH] fix missing unpack for flow memo --- lapis/flow.lua | 1 + lapis/flow.moon | 2 ++ 2 files changed, 3 insertions(+) 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) ->