We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When setting fields on objects returned from CreateFrame() and using them, the language server gives an undefined-field warning.
undefined-field
local f = CreateFrame("Frame") f.test = "123" print(f.test)
I'm not sure why this is happening. Manually annotating it with ---@type Frame seems to fix it though.
---@type Frame
The text was updated successfully, but these errors were encountered:
Filed an issue LuaLS/lua-language-server#531
Sorry, something went wrong.
No branches or pull requests
When setting fields on objects returned from CreateFrame() and using them, the language server gives an
undefined-field
warning.I'm not sure why this is happening. Manually annotating it with
---@type Frame
seems to fix it though.The text was updated successfully, but these errors were encountered: