Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

Fix horrible path normalisation issue #225

Merged
merged 1 commit into from
Dec 8, 2019

Conversation

pepeiborra
Copy link
Collaborator

Not sure why sometimes the path to the cradle is absolute and other times it's relative. Using Linux and direct cradles, happens both on Emacs and Code.

Because of this issue, ghcide v0.4 is broken for me on certain files both on personal projects and at work.

@digitalasset-cla
Copy link

digitalasset-cla commented Dec 8, 2019

CLA assistant check
All committers have signed the CLA.

Copy link
Collaborator

@cocreature cocreature left a comment

Choose a reason for hiding this comment

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

Makes sense, thank you!

@cocreature cocreature merged commit 5091a1d into haskell:master Dec 8, 2019
@ndmitchell
Copy link
Collaborator

Would canonicalizeFilePath end up doing both these things, potentially more robustly?

@cocreature
Copy link
Collaborator

canonicalizeFilePath also resolves symlinks which doesn’t necessarily make sense.

@ndmitchell
Copy link
Collaborator

Good point!

pepeiborra added a commit to pepeiborra/ide that referenced this pull request Dec 29, 2020
pepeiborra added a commit to pepeiborra/ide that referenced this pull request Dec 29, 2020
pepeiborra added a commit to pepeiborra/ide that referenced this pull request Dec 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants