Removed unnecessary if when generating a function call
@@ -498,10 +498,6 @@ function Coder:call_pallene_function(dsts, f_id, base, xs)
args = table.concat(args, ", "),
})
- if #ret_types == 0 then
- assert(dsts == {} or #dsts == 0 or (#dsts > 0 and dsts[1] == false))
- return call
- else
if dsts[1] then
return (util.render([[
$temp_args
@@ -521,7 +517,6 @@ function Coder:call_pallene_function(dsts, f_id, base, xs)
}))
end
end
-end
--
-- # Lua entry point
