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

@field hover comment is incorrectly carried forward from @class comment #502

Closed
Cassolette opened this issue Apr 9, 2021 · 0 comments
Closed
Labels
bug Something isn't working feat/LuaCats Annotations Related to Lua Language Server Annotations (LuaCats)

Comments

@Cassolette
Copy link
Contributor

In the following snippet, the first field is seen to have the description of the class

---I am the class description.
---@class Food
---@field firstField number
---@field secondField number
local food = {}

food.firstField = 0  -- hover here
food.secondField = 2

image

Environment:
Windows (VSCode)

@sumneko sumneko added bug Something isn't working feat/LuaCats Annotations Related to Lua Language Server Annotations (LuaCats) labels Apr 12, 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

2 participants