Skip to content

update - #1150

Merged
CppCXY merged 13 commits into
EmmyLuaLs:mainfrom
xuhuanzy:update
Jul 10, 2026
Merged

update#1150
CppCXY merged 13 commits into
EmmyLuaLs:mainfrom
xuhuanzy:update

Conversation

@xuhuanzy

@xuhuanzy xuhuanzy commented Jul 5, 2026

Copy link
Copy Markdown
Member

No description provided.

github-actions[bot]

This comment was marked as low quality.

@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 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.

@CppCXY
CppCXY merged commit 678c001 into EmmyLuaLs:main Jul 10, 2026
16 checks passed
social4hyq pushed a commit to social4hyq/homebrew-core that referenced this pull request Sep 20, 2026
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
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.

2 participants