Skip to content

Conversation

@Andarist
Copy link
Contributor

fixes #61845

Copilot AI review requested due to automatic review settings June 12, 2025 21:15
@github-project-automation github-project-automation bot moved this to Not started in PR Backlog Jun 12, 2025
@typescript-bot typescript-bot added For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Jun 12, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for displaying computed property names in interactive inlay hints and includes a test to prevent the associated crash (fixing #61845).

  • Imported isComputedPropertyName and handled SyntaxKind.ComputedPropertyName in provideInlayHints
  • Added a fourslash test and baseline to verify computed property inlay hints

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
tests/cases/fourslash/inlayHintsFunctionParameterTypes5.ts New test case for computed property inlay hints
tests/baselines/reference/inlayHintsFunctionParameterTypes5.baseline Baseline output for the new computed property hint
src/services/inlayHints.ts Implementation: import and case for computed names

@github-project-automation github-project-automation bot moved this from Not started to Needs merge in PR Backlog Jun 30, 2025
@jakebailey jakebailey merged commit 8665f92 into microsoft:main Jun 30, 2025
32 checks passed
@github-project-automation github-project-automation bot moved this from Needs merge to Done in PR Backlog Jun 30, 2025
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.

No inlay hints. provideInlayHints results in Debug Failure. Unexpected node.

3 participants