Skip to content

Port TS PR 59675 #1261

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Port TS PR 59675 #1261

wants to merge 1 commit into from

Conversation

jakebailey
Copy link
Member

@Copilot Copilot AI review requested due to automatic review settings June 21, 2025 20:44
Copy link
Contributor

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

Ports TypeScript PR 59675 by aligning JSDoc comment order in baselines and improving how comments are preserved when building nodes.

  • Removed the outdated .js.diff baseline file
  • Updated signatureOverloadsWithComments.js to place @deprecated and accompanying comment in the correct order
  • Changed setCommentRange in nodebuilderimpl.go to prefer signature.declaration via core.Coalesce

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
testdata/baselines/reference/submodule/compiler/signatureOverloadsWithComments.js.diff Deleted obsolete diff file—the baseline is now represented by the .js file
testdata/baselines/reference/submodule/compiler/signatureOverloadsWithComments.js Reordered JSDoc comments to include @deprecated before comment
internal/checker/nodebuilderimpl.go Use core.Coalesce(signature.declaration, …) when setting comment ranges
Comments suppressed due to low confidence (1)

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.

1 participant