LuaLS / LuaLS/lua-language-server
`gcinfo` is not defined in standard library
Open
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 4.4k
- Forks
- 442
- PR merge metrics
- No merged PRs in 30d
Description
How are you using the lua-language-server?
Visual Studio Code Extension (sumneko.lua)
Which OS are you using?
Windows
What is the issue affecting?
Libraries
Expected Behaviour
gcinfo ought to exist in Lua 5.1 (although it is deprecated).
https://www.lua.org/manual/5.1/manual.html#7.2
Probably somewhere here?
Actual Behaviour
Reproduction steps
- Set
"runtime.version": "Lua 5.1" - Write
gcinfo - See that it is not defined
Additional Notes
No response
Log File
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with meta/template/basic.lua around lines 37-43 and compare the standard-library definitions with the Lua 5.1 manual section linked in the issue. Reproduce with runtime.version set to Lua 5.1 and confirm that gcinfo is recognized afterward.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100