rikvdkleij / intellij-haskell

IntelliJ plugin for Haskell
https://rikvdkleij.github.io/intellij-haskell/
Apache License 2.0
1.31k stars 94 forks source link

Cannot find definition imported via `import A.B as B hiding (D(..))` #574

Closed drathier closed 4 years ago

drathier commented 4 years ago

Jump to definition couldn't find the definition of a type that was imported like this: import A.B as B hiding (D(..)) which means

rikvdkleij commented 4 years ago

Thanks for reporting!

rikvdkleij commented 4 years ago

I try to reproduce your issue:

module Foo where

import Data.Vector as DV hiding (fromListN)

test = DV.fromList

but I don't notice an issue with go to definition.

Only the go to doesn't work for fromListN but that's expected.

rikvdkleij commented 4 years ago

Please reopen if still an issue.