Skip to content

Conversation

@ahejlsberg
Copy link
Member

@ahejlsberg ahejlsberg commented Oct 23, 2025

This is a follow-up to #1935 that suppresses generation of diagnostics during resolution of {@link foo.bar} references. Those diagnostics would sporadically show up because of checker reuse.

Copy link
Contributor

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 prevents spurious error reports when resolving JSDoc {@link foo.bar} references. Following up on #1935, it adds a guard to suppress diagnostics during resolution of these JSDoc name references, which were appearing intermittently due to checker reuse.

Key Changes:

  • Added early return in reportNonexistentProperty to suppress diagnostics for JSDoc name reference contexts

@ahejlsberg ahejlsberg added this pull request to the merge queue Oct 23, 2025
Merged via the queue into main with commit def283d Oct 23, 2025
22 checks passed
@ahejlsberg ahejlsberg deleted the no-link-errors branch October 23, 2025 20:02
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.

3 participants