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