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

Whitespace not supported after --- in resume #457

Closed
Cassolette opened this issue Mar 19, 2021 · 1 comment
Closed

Whitespace not supported after --- in resume #457

Cassolette opened this issue Mar 19, 2021 · 1 comment
Labels
bug Something isn't working feat/LuaCats Annotations Related to Lua Language Server Annotations (LuaCats)

Comments

@Cassolette
Copy link
Contributor

Resume parsing does not stop at tags with whitespace like --- @alias Test.

Trigger code:

---@class A
---@field x number
local t = {
}

--- @alias AliasType
---| '1'

---@param d AliasType
local function abc(d)
end
abc()

Observe error with whitespace and without (i.e. --- @alias AliasType and ---@alias AliasType

img

Environment:
Windows (VSCode)

@sumneko sumneko added bug Something isn't working feat/LuaCats Annotations Related to Lua Language Server Annotations (LuaCats) labels Mar 22, 2021
@sumneko
Copy link
Collaborator

sumneko commented Mar 22, 2021

Should be fixed by bf5ee64

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