-
-
Notifications
You must be signed in to change notification settings - Fork 380
Closed
Labels
bugSomething isn't workingSomething isn't workingfeat/LuaCats AnnotationsRelated to Lua Language Server Annotations (LuaCats)Related to Lua Language Server Annotations (LuaCats)
Description
Describe the bug
I tried the new constructor overload but it only works with local classes like in the example
To Reproduce
try this:
---@class Class
---@overload fun():Class
---@field bla number
mt = {} --this is global instead
local x = mt() --> x is unknown
Environment (please complete the following information):
- OS: Windows
- Client: VSCode
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingfeat/LuaCats AnnotationsRelated to Lua Language Server Annotations (LuaCats)Related to Lua Language Server Annotations (LuaCats)