Skip to content

Keep instantiation expression symbols distinct and stable - #64123

Merged
Jake Bailey (jakebailey) merged 1 commit into
microsoft:mainfrom
Andarist:fix-64116-instantiation-expression-symbol
Sep 1, 2026
Merged

Keep instantiation expression symbols distinct and stable#64123
Jake Bailey (jakebailey) merged 1 commit into
microsoft:mainfrom
Andarist:fix-64116-instantiation-expression-symbol

Conversation

@Andarist

Copy link
Copy Markdown
Contributor

fixes #64116 (a regression from microsoft/typescript-go#4687 )

Copilot AI balanced review requested due to automatic review settings September 1, 2026 17:04
@typescript-automation typescript-automation Bot added For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Sep 1, 2026
@github-project-automation github-project-automation Bot moved this to Not started in PR Backlog Sep 1, 2026

Copilot AI 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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Note

This error may be related to your runner configuration. You can now configure runners for Copilot code review separately from Copilot cloud agent by creating a copilot-code-review.yml file with your setup steps. Read the docs for details.

@jakebailey Jake Bailey (jakebailey) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@github-project-automation github-project-automation Bot moved this from Not started to Needs merge in PR Backlog Sep 1, 2026
@jakebailey
Jake Bailey (jakebailey) added this pull request to the merge queue Sep 1, 2026
Comment on lines +445 to +446
if t1.symbol != nil && len(t1.symbol.Declarations) != 0 {
declaration1 = t1.symbol.Declarations[0]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is Declarations stable between every type-checker?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that should be.

Merged via the queue into microsoft:main with commit 473bcd2 Sep 1, 2026
26 checks passed
@github-project-automation github-project-automation Bot moved this from Needs merge to Done in PR Backlog Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

class doesn't inherit generic type paramater when inheriting from a variable/expression

4 participants