fix(plugin): properly pass is_list for recursively merging props

This commit is contained in:
Folke Lemaitre 2023-03-07 19:11:33 +01:00
parent e89acede13
commit 355312eb51
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 1 additions and 1 deletions

View File

@ -434,7 +434,7 @@ end
---@param is_list? boolean ---@param is_list? boolean
function M.values(plugin, prop, is_list) function M.values(plugin, prop, is_list)
---@type table ---@type table
local ret = plugin._.super and M.values(plugin._.super, prop) or {} local ret = plugin._.super and M.values(plugin._.super, prop, is_list) or {}
local values = rawget(plugin, prop) local values = rawget(plugin, prop)
if not values then if not values then