-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Fix isProgramUptoDate when changing rootFileNames #36011
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
Fix isProgramUptoDate when changing rootFileNames #36011
Conversation
|
please add test similar to https://github.com/microsoft/TypeScript/blob/master/src/testRunner/unittests/reuseProgramStructure.ts#L229 where rootNames change but the number of root names don't change. |
RyanCavanaugh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requesting changes per Sheetal's comments on test location. Thanks!
|
Hello. I don't understand what is expected. The test highlighted doesn't seem to involve |
|
I found which test to update. It was in the same file. Sorry.
|
|
@yacinehmito can you please update the test case so we can take this in. Thanks |
|
Yes. I'm swamped at work so I didn't have time to go back to this. Will do so before Monday. Thanks for the patience! |
|
@sheetalkamat I have added the tests. Thank you for your patience. |
8ee6569 to
86fd433
Compare
Fixes #36010
I don't know what tests to write to validate that fix
I'll try to see if the current tests run that codepath. In the meantime the fix is there and maybe it's good enough to be merged as-is.