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

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
social4hyq pushed a commit to social4hyq/homebrew-core that referenced this pull request Sep 20, 2026
emmylua_ls 0.25.0

Created-by: HarmonybrewBot
Commit-by: HarmonybrewBot
Merged-by: HarmonybrewBot
Description: Created by `brew bump`

---

Created with `brew bump-formula-pr`.<details>
  <summary>release notes</summary>
  <pre>## What's Changed
* fix LuaJIT name in warnings by @ligurio in EmmyLuaLs/emmylua-analyzer-rust#1172
* Fix nix flake build with current rust and openssl by @saffr3n in EmmyLuaLs/emmylua-analyzer-rust#1185
* fix: error on statement after return by @PennyJim in EmmyLuaLs/emmylua-analyzer-rust#1191
* fix(flow): preserve self-assignment antecedent types by @lewis6991 in EmmyLuaLs/emmylua-analyzer-rust#1182
* use no-resursive infer by @CppCXY in EmmyLuaLs/emmylua-analyzer-rust#1202
* fixed safe-navigation assignment formatting by @hfn92 in EmmyLuaLs/emmylua-analyzer-rust#1205

## New Contributors
* @saffr3n made their first contribution in EmmyLuaLs/emmylua-analyzer-rust#1185
* @PennyJim made their first contribution in EmmyLuaLs/emmylua-analyzer-rust#1191
* @hfn92 made their first contribution in EmmyLuaLs/emmylua-analyzer-rust#1205

**Full Changelog**: https://github.com/EmmyLuaLs/emmylua-analyzer-rust/compare/0.24.0...0.25.0</pre>
  <p>View the full release notes at <a href="https://github.com/EmmyLuaLs/emmylua-analyzer-rust/releases/tag/0.25.0">https://github.com/EmmyLuaLs/emmylua-analyzer-rust/releases/tag/0.25.0</a>.</p>
</details>
<hr>

See merge request: Harmonybrew/homebrew-core!16159
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