Repository navigation
update - #1150
update#1150
Conversation
There was a problem hiding this comment.
Code Review
This pull request refactors generic type instantiation in instantiate_generic_type to prevent premature expansion of nested aliases (such as Promise<Unwrap<U>>) before their template parameters are fully inferred. It introduces a check to only recursively instantiate generic arguments when the current substitutor can resolve them, and preserves the alias form if template nodes remain. Several unit tests have been added to verify these changes and ensure correct type inference. There are no review comments, so I have no 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.
This reverts commit d7de3f5.
emmylua_ls 0.24.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: avoid flow replay for unrelated call conditions by @lewis6991 in EmmyLuaLs/emmylua-analyzer-rust#1101 * Add more information about formatter to docs by @colin-heffernan in EmmyLuaLs/emmylua-analyzer-rust#1124 * fix: stop repeated assignments from hanging by @lewis6991 in EmmyLuaLs/emmylua-analyzer-rust#1115 * update generic by @xuhuanzy in EmmyLuaLs/emmylua-analyzer-rust#1096 * Fix: `undefined-field` false positive for `table<K,V>` when value type is generic and key is not `string`/`integer` by @ShenzhenGopher in EmmyLuaLs/emmylua-analyzer-rust#1109 * fix(flow): stop cyclic walks after unreachable continue by @lewis6991 in EmmyLuaLs/emmylua-analyzer-rust#1147 * fix: separate unreachable conditions from never types by @lewis6991 in EmmyLuaLs/emmylua-analyzer-rust#1098 * update by @xuhuanzy in EmmyLuaLs/emmylua-analyzer-rust#1113 * format: offer one-operand-per-line layout for and/or chains by @MillhioreBT in EmmyLuaLs/emmylua-analyzer-rust#1160 * update by @xuhuanzy in EmmyLuaLs/emmylua-analyzer-rust#1150 ## New Contributors * @colin-heffernan made their first contribution in EmmyLuaLs/emmylua-analyzer-rust#1124 * @ShenzhenGopher made their first contribution in EmmyLuaLs/emmylua-analyzer-rust#1109 **Full Changelog**: https://github.com/EmmyLuaLs/emmylua-analyzer-rust/compare/0.23.2...0.24.0</pre> <p>View the full release notes at <a href="https://github.com/EmmyLuaLs/emmylua-analyzer-rust/releases/tag/0.24.0">https://github.com/EmmyLuaLs/emmylua-analyzer-rust/releases/tag/0.24.0</a>.</p> </details> <hr> See merge request: Harmonybrew/homebrew-core!13993
No description provided.