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

阻止 class 与 type 的错误标记 #806

Closed
sumneko opened this issue Nov 18, 2021 · 0 comments
Closed

阻止 class 与 type 的错误标记 #806

sumneko opened this issue Nov 18, 2021 · 0 comments
Labels
bug Something isn't working feat/LuaCats Annotations Related to Lua Language Server Annotations (LuaCats)
Milestone

Comments

@sumneko
Copy link
Collaborator

sumneko commented Nov 18, 2021

---@class A
function mt:xxx(p1, p2)
end

这段代码会将 self,p1,p2 都标记为 A

@sumneko sumneko added enhancement New feature or request feat/LuaCats Annotations Related to Lua Language Server Annotations (LuaCats) labels Nov 18, 2021
@sumneko sumneko added this to the 2.5.0 milestone Nov 18, 2021
@sumneko sumneko added bug Something isn't working and removed enhancement New feature or request labels Nov 19, 2021
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

1 participant