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

Fix GoToDeclaration/FindUsages being broken on Windows due to path separator bug #2054

Merged
merged 1 commit into from Oct 18, 2020

Conversation

angusholder
Copy link
Contributor

This code was making a map where the keys were system-specific path strings, but the map was being looked-up using unix path strings, so the lookup always failed on systems with non-unix paths (ie Windows)

Fixes #2052

I'm not sure why GoToDeclarationHandlerTest wasn't failing before, but I haven't been able to start the tests on my machine

This code was making a map where the keys were system-specific path strings,
but the map was being looked-up using unix path strings, so always failed,
so the lookup always failed on systems with non-unix paths (ie Windows)
@angusholder angusholder changed the title Fix path separator bug Fix GoToDeclaration/FindUsages due to path separator bug Oct 17, 2020
@angusholder angusholder changed the title Fix GoToDeclaration/FindUsages due to path separator bug Fix GoToDeclaration/FindUsages being broken on Windows due to path separator bug Oct 17, 2020
Copy link
Collaborator

@AlecKazakova AlecKazakova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@AlecKazakova AlecKazakova merged commit 04ebbdf into cashapp:master Oct 18, 2020
@angusholder angusholder deleted the fix-path-separators branch October 18, 2020 15:21
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.

ctrl-clicking queries navigates to generated code
2 participants