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

[wip] Type acquisition and module resolution updates #56074

Draft
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

sheetalkamat
Copy link
Member

@sheetalkamat sheetalkamat commented Oct 11, 2023

Still working, creating PR to run tests

Fixes #

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Oct 11, 2023
@typescript-bot
Copy link
Collaborator

Looks like you're introducing a change to the public API surface area. If this includes breaking changes, please document them on our wiki's API Breaking Changes page.

Also, please make sure @DanielRosenwasser and @RyanCavanaugh are aware of the changes, just as a heads up.

@sheetalkamat sheetalkamat force-pushed the unresolvedImports branch 11 times, most recently from d89c3a2 to bbb8540 Compare October 17, 2023 20:58
@sheetalkamat sheetalkamat force-pushed the unresolvedImports branch 4 times, most recently from e6d920c to a79e9b9 Compare October 25, 2023 18:36
@sheetalkamat sheetalkamat force-pushed the unresolvedImports branch 4 times, most recently from bf027a7 to 2e71217 Compare November 14, 2023 22:15
@sheetalkamat sheetalkamat force-pushed the unresolvedImports branch 2 times, most recently from ec26f33 to 18cd5c6 Compare November 28, 2023 22:09
@sheetalkamat sheetalkamat force-pushed the unresolvedImports branch 3 times, most recently from d7e5cb8 to b5d2968 Compare June 26, 2024 22:58
@sheetalkamat sheetalkamat force-pushed the unresolvedImports branch 2 times, most recently from ab0752f to 520814f Compare July 3, 2024 17:56
@sheetalkamat sheetalkamat force-pushed the unresolvedImports branch 4 times, most recently from 9a7b1a4 to 95fe885 Compare July 9, 2024 16:45
First unresolved import gets the typing file into cache and sets it as root,
This results in scheduling new typing request with that unresolved import missing
The result will come back with typing file that is omitted, so root file will change but file will still be part of program so its not really removed from program
Also cache the inferred type acquition for inferred project
…ypings cache

This change finally makes all tests pass incremental tests for matching resolutions and program structuture
…eed to update last cached unresolved imports just because we have new program
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
Development

Successfully merging this pull request may close these issues.

None yet

2 participants