Latest Vscode, Latest Master ```lua ---@generic V: string ---@param list V[] ---@return {[V]: true} util.list_to_map = function(list) local map = {} for k, value in pairs(list) do map[value] = true end return map end ```  [bug.log](https://github.com/sumneko/lua-language-server/files/9128839/bug.log)
Activity
sumneko commentedon Jul 19, 2022
This is caused by the current generic implementation defect, and the generic implementation needs to be refactored in the future.
JasperSurmont commentedon Aug 17, 2026
Running into this same issue, most generics issues are quite old: how can I contribute? Have generics already been refactored?