Skip to content
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

Skip ID inference errors on nodes collected from other files #59203

Merged

Conversation

weswigham
Copy link
Member

Fixes #58909

I considered skipping the error at the callsite issuing the error if the node isn't from the context.enclosingFile, but remembering that at every callsite is much more cumbersome than just filtering the node's applicability for the output file under consideration within the error reporter itself.

@weswigham weswigham requested a review from jakebailey July 9, 2024 18:10
@typescript-bot typescript-bot added Author: Team For Milestone Bug PRs that fix a bug with a specific milestone labels Jul 9, 2024
@jakebailey
Copy link
Member

@typescript-bot cherry-pick this to release-5.5

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jul 9, 2024

Starting jobs; this comment will be updated as builds start and complete.

Command Status Results
cherry-pick this to release-5.5 ✅ Started ✅ Results

@jakebailey
Copy link
Member

I think this is marked for 5.6, but this is such a simple change and we're already fixing a bunch of ID related stuff in the next patch.

@typescript-bot
Copy link
Collaborator

Hey, @jakebailey! I've created #59210 for you.

@weswigham weswigham merged commit de77dd4 into microsoft:main Jul 9, 2024
29 checks passed
@weswigham weswigham deleted the isolated-declaration-quash-nested-errors branch July 9, 2024 23:03
DanielRosenwasser pushed a commit that referenced this pull request Jul 16, 2024
…e-5.5 (#59210)

Co-authored-by: Wesley Wigham <wwigham@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Milestone Bug PRs that fix a bug with a specific milestone
Projects
Status: Done
3 participants