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

Set impliedNodeFormat on sourceFile we get from host to ensure the field is set correctly #50977

Merged
merged 8 commits into from
Oct 31, 2022

Conversation

sheetalkamat
Copy link
Member

This fixes issue with using same source file between two programs when impliedNodeFormat was different in tsbuild mode.
Fixes #50872

@typescript-bot typescript-bot added the For Milestone Bug PRs that fix a bug with a specific milestone label Sep 27, 2022
@sheetalkamat sheetalkamat changed the title Use impliedNodeFormat as key during caching sourceFiles Set impliedNodeFormat on sourceFile we get from host to ensure the field is set correctly Sep 28, 2022
@sheetalkamat sheetalkamat merged commit 7c58011 into main Oct 31, 2022
@sheetalkamat sheetalkamat deleted the tsBuildImpliedNodeFormat branch October 31, 2022 18:26
@DanielRosenwasser
Copy link
Member

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

@typescript-bot
Copy link
Collaborator

typescript-bot commented Oct 31, 2022

Heya @DanielRosenwasser, I've started to run the task to cherry-pick this into release-4.9 on this PR at 4bd8b9b. You can monitor the build here.

@typescript-bot
Copy link
Collaborator

Hey @DanielRosenwasser, I've opened #51363 for you.

@DanielRosenwasser
Copy link
Member

I don't know if this will work after-the-fact but

@typescript-bot user test tsserver
@typescript-bot test tsserver top100

@typescript-bot
Copy link
Collaborator

typescript-bot commented Oct 31, 2022

Heya @DanielRosenwasser, I've started to run the diff-based user code test suite (tsserver) on this PR at 4bd8b9b. You can monitor the build here.

@typescript-bot
Copy link
Collaborator

typescript-bot commented Oct 31, 2022

Heya @DanielRosenwasser, I've started to run the diff-based top-repos suite (tsserver) on this PR at 4bd8b9b. You can monitor the build here.

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
Archived in project
Development

Successfully merging this pull request may close these issues.

Incorrect tsc --build compilation that is dependent on project references (using NPM workspaces)
5 participants