Skip to content

fix LuaJIT name in warnings#1172

Merged
CppCXY merged 1 commit into
EmmyLuaLs:mainfrom
ligurio:ligurio/gh-xxxx-fix-luajit-name
Jul 14, 2026
Merged

fix LuaJIT name in warnings#1172
CppCXY merged 1 commit into
EmmyLuaLs:mainfrom
ligurio:ligurio/gh-xxxx-fix-luajit-name

Conversation

@ligurio

@ligurio ligurio commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

emmylua_check usually misspells LuaJIT name in warnings. The patch fixes that.

Closes #1170

emmylua_check usually misspells LuaJIT name in warnings. The patch
fixes that.

Closes EmmyLuaLs#1170

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

Issue Identified

Inconsistent naming convention - The change modifies the display output for LuaVersionNumber::LUA_JIT from "Lua JIT" to "LuaJIT".

Analysis

This is a minor cosmetic change that affects how the LuaJIT version is displayed. The change removes the space between "Lua" and "JIT", making it a single word "LuaJIT".

Recommendation

While this change is functionally safe, consider:

  1. Consistency check: Ensure this new format aligns with how LuaJIT is referred to in other parts of the codebase (documentation, error messages, etc.)
  2. Backward compatibility: If this display string is used in any serialization or parsing logic, this change could break existing functionality
  3. Official naming: LuaJIT's official name is typically written as "LuaJIT" (no space), so this change is actually more accurate

Verdict

Approved - This is a low-risk change that improves accuracy of the display name. No security or logical issues detected.

@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 Display implementation for LuaVersionNumber to format LuaVersionNumber::LUA_JIT as "LuaJIT" instead of "Lua JIT". There are no review comments, and I have no additional feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@CppCXY
CppCXY merged commit 98c85ac into EmmyLuaLs:main Jul 14, 2026
17 checks passed
@ligurio
ligurio deleted the ligurio/gh-xxxx-fix-luajit-name branch July 14, 2026 13:03
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.

Misspelling of a word LuaJIT in warnings

2 participants