LuaLS / LuaLS/lua-language-server
Parser fails on annotations containing '[['
Open
- Dominant language
- Lua
- Stars
- 4.4k
- Forks
- 442
- PR merge metrics
- No merged PRs in 30d
Description
---@param data [[integer, integer][], integer]
local function foo(data)
end
Contributor guide
Research direction
Start by reproducing the parser failure with the annotation shown in the issue and trace how the nested brackets are handled. The change is done when this annotation parses successfully without breaking the existing annotation syntax.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100