Ghcide: Completions are duplicated if imports are

Created on 8 Mar 2020  路  3Comments  路  Source: haskell/ghcide

image

Both these point at GHC.Util. Would be great to avoid generating them first, but a simple nubOrd on showing the completions might be worthwhile too. Root cause is that I am importing the module GHC.Util twice.

good first issue bug

Most helpful comment

Hi! I'd be happy to work on this issue.

All 3 comments

It is reproduced with lastest ghcide

Hi! I'd be happy to work on this issue.

Thanks @botal9 - that would be great. There are three relevant modules - the first three of https://github.com/haskell/ghcide/search?q=completion. Not sure at what level to reduce it - probably best to write a test, and then experiment with where to remove the duplicate.

Was this page helpful?
0 / 5 - 0 ratings