Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@vararg cannot be @generic #880

Closed
lua-rocks opened this issue Dec 28, 2021 · 0 comments
Closed

@vararg cannot be @generic #880

lua-rocks opened this issue Dec 28, 2021 · 0 comments
Labels
bug Something isn't working feat/LuaCats Annotations Related to Lua Language Server Annotations (LuaCats)
Milestone

Comments

@lua-rocks
Copy link

---@generic T
---@vararg T # ERROR
---@return T
local function test(...)
  return ...
end
@sumneko sumneko added feat/LuaCats Annotations Related to Lua Language Server Annotations (LuaCats) enhancement New feature or request labels Dec 28, 2021
@sumneko sumneko added this to the 3.5.0 milestone Jun 30, 2022
@sumneko sumneko added bug Something isn't working and removed enhancement New feature or request labels Jul 7, 2022
@sumneko sumneko closed this as completed in 488471b Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feat/LuaCats Annotations Related to Lua Language Server Annotations (LuaCats)
Projects
None yet
Development

No branches or pull requests

2 participants