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

Don't use Uri.Empty for default workspace. #7654

Merged
merged 2 commits into from
Apr 17, 2024

Conversation

heejaechang
Copy link
Collaborator

fixes microsoft/pylance-release#5740

It broke due to this change https://github.com/microsoft/pyrx/pull/4878

During this update, we modified how Uri handles case sensitivity, identifying a specific problem where an EmptyUri was defaulting to case sensitivity: false.

However, EmptyUri implemented functions like resolvePaths/combinePaths that ended up using incorrect case sensitivity. To address this, we changed how EmptyUri behaves and changed the default workspace not to use EmptyUri. However, it appears that we missed its usage in this spot.

@heejaechang heejaechang force-pushed the defaultWorkspaceExtraPath branch from 2624b21 to d4fb153 Compare April 10, 2024 00:41

This comment has been minimized.

@heejaechang heejaechang force-pushed the defaultWorkspaceExtraPath branch from d4fb153 to bb02af1 Compare April 10, 2024 02:35

This comment has been minimized.

@heejaechang heejaechang force-pushed the defaultWorkspaceExtraPath branch from bb02af1 to 6f60b33 Compare April 10, 2024 17:41

This comment has been minimized.

@heejaechang heejaechang force-pushed the defaultWorkspaceExtraPath branch from 6f60b33 to e918b85 Compare April 12, 2024 04:44

This comment has been minimized.

@heejaechang heejaechang force-pushed the defaultWorkspaceExtraPath branch from e918b85 to 398f886 Compare April 15, 2024 17:34

This comment has been minimized.

@heejaechang heejaechang force-pushed the defaultWorkspaceExtraPath branch from 398f886 to 4702f26 Compare April 17, 2024 23:10
Copy link
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

python.analysis.extraPaths stopped working
3 participants