Repository navigation
fix LuaJIT name in warnings - #1172
Conversation
emmylua_check usually misspells LuaJIT name in warnings. The patch fixes that. Closes EmmyLuaLs#1170
There was a problem hiding this comment.
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:
- Consistency check: Ensure this new format aligns with how LuaJIT is referred to in other parts of the codebase (documentation, error messages, etc.)
- Backward compatibility: If this display string is used in any serialization or parsing logic, this change could break existing functionality
- 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.
There was a problem hiding this comment.
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.
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
emmylua_check usually misspells LuaJIT name in warnings. The patch fixes that.
Closes #1170