haskell / haskell-language-server

Official haskell ide support via language server (LSP). Successor of ghcide & haskell-ide-engine.
Apache License 2.0
2.61k stars 351 forks source link

Figure out `hie-bios` normalise import-dirs and `TargetFile` already ? #4257

Closed soulomoon closed 3 weeks ago

soulomoon commented 1 month ago

Sidenote: extremely strictly speaking, this should be unnecessary, as hie-bios should normalise import-dirs and TargetFile already. But perhaps we should simply open an issue to investigate later.

_Originally posted by @fendor in https://github.com/haskell/haskell-language-server/pull/4231#discussion_r1615768976_

soulomoon commented 3 weeks ago

https://github.com/haskell/haskell-language-server/blob/322ac3505c31a2f4a61d718bfa5ff9cd5685405c/ghcide/session-loader/Development/IDE/Session.hs#L1246

It we do make it absolute already