q66 pushed a commit to branch master.

http://git.enlightenment.org/tools/edocgen.git/commit/?id=9f8b605cd28757ca8b81c54d08d2b46b42f6c040

commit 9f8b605cd28757ca8b81c54d08d2b46b42f6c040
Author: Daniel Kolesa <d.kol...@samsung.com>
Date:   Sun May 31 08:05:31 2020 +0200

    fix filter with lua 5.2 no longer using a userdata proxy for objects
---
 docgen/util.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docgen/util.lua b/docgen/util.lua
index 202712c..97e2fb0 100644
--- a/docgen/util.lua
+++ b/docgen/util.lua
@@ -49,7 +49,7 @@ end
 
 M.filter = function(list, pred)
     local ret = {}
-    if type(list) == "table" then
+    if type(list) == "table" and getmetatable(list) == nil then
         for i, v in ipairs(list) do
             if pred(v) then
                 ret[#ret + 1] = v

-- 


Reply via email to