Skip to content

Commit

Permalink
[Fix] Do not set output type if list application failed
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed Aug 10, 2023
1 parent eddf3cc commit 6d13291
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lualib/lua_selectors/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ local function process_selector(task, sel)
end,
fun.map(function(list_elt)
local ret, ty = meth.process(list_elt, pt, meth.args)
etype = ty
if ret then
etype = ty
end
return ret
end, input)))
if input and etype then
Expand Down

0 comments on commit 6d13291

Please sign in to comment.