Skip to content

fix: correct debug.setlocal param type from string to integer - #1010

Merged
CppCXY merged 1 commit into
EmmyLuaLs:mainfrom
EfveZombie:fix.setlocal-param-type
Apr 7, 2026
Merged

CppCXY merged 1 commit into
EmmyLuaLs:mainfrom
EfveZombie:fix.setlocal-param-type

Conversation

@EfveZombie

Copy link
Copy Markdown

Correct the second parameter type of debug.setlocal from string to integer, matching the Lua reference manual.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the debug.setlocal function signature in the Lua standard library definitions. The parameter var (type string) has been correctly renamed to index (type integer) to align with the standard Lua API documentation. I have no feedback to provide as there were no review comments.

@CppCXY
CppCXY merged commit c216016 into EmmyLuaLs:main Apr 7, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants