LuaLS / LuaLS/lua-language-server

关于enum的识别问题

Open
#3,239 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Lua
Stars
4.4k
Forks
442
PR merge metrics
No merged PRs in 30d

Description

Image
默认不写key的table似乎无法识别

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Reproduce the reported enum case using a table without an explicit key, then trace the enum recognition path; done means that the keyless table is recognized correctly and a regression test covers the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.