Repository navigation
fix: make format parameter optional in os.date function - #1093
Conversation
Code Review SummaryFile: Change: Line 81 - ✅ Issue Identified: Incorrect Parameter Type AnnotationProblem: The original annotation Evidence:
Recommendation: The change from
Additional Observations
Final VerdictAPPROVED - This is a straightforward, correct fix that improves the accuracy of the type annotations for Lua's |
There was a problem hiding this comment.
Code Review
This pull request updates the Lua standard library definition for the os.date function in crates/emmylua_code_analysis/resources/std/os.lua, marking the format parameter as optional to accurately reflect its usage. No review comments were provided for this change, so I have no additional feedback to offer.
emmylua_ls 0.23.2 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: make code actions follow formatter tag spacing by @lewis6991 in EmmyLuaLs/emmylua-analyzer-rust#1089 * fix: make format parameter optional in os.date function by @tinyleolin in EmmyLuaLs/emmylua-analyzer-rust#1093 * perf: avoid unrelated multi-return correlation by @lewis6991 in EmmyLuaLs/emmylua-analyzer-rust#1095 * fix: handle semantic flow edge cases by @lewis6991 in EmmyLuaLs/emmylua-analyzer-rust#1086 * fix: avoid recursive signature instantiation by @lewis6991 in EmmyLuaLs/emmylua-analyzer-rust#1085 **Full Changelog**: https://github.com/EmmyLuaLs/emmylua-analyzer-rust/compare/0.23.1...0.23.2</pre> <p>View the full release notes at <a href="https://github.com/EmmyLuaLs/emmylua-analyzer-rust/releases/tag/0.23.2">https://github.com/EmmyLuaLs/emmylua-analyzer-rust/releases/tag/0.23.2</a>.</p> </details> <hr> See merge request: Harmonybrew/homebrew-core!10353
No description provided.