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

Ensure correct script kind and text when using cached sourceFile from scriptInfo #57641

Merged
merged 2 commits into from
Mar 4, 2024

Conversation

sheetalkamat
Copy link
Member

When using cached sourceFile from the info, make sure the scriptKind is same

This is needed esp with externalFiles since they may not use actual scriptInfo and text at all
Fixes #57631

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Mar 4, 2024
@sheetalkamat sheetalkamat force-pushed the scriptKindWithPlugin branch from faad4b8 to aada58d Compare March 4, 2024 22:19
…is same

This is needed esp with externalFiles since they may not use actual scriptInfo and text at all
Fixes #57631
@sheetalkamat sheetalkamat force-pushed the scriptKindWithPlugin branch from aada58d to a59f129 Compare March 4, 2024 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
None yet
3 participants