This repository was archived by the owner on Oct 7, 2020. It is now read-only.
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
Cannot have two "Main" modules open at the same time #620
Closed
Description
e.g., working on hie, if app/MainHie.hs
and test/Functional.hs
are both loaded, we get
Got error while processing diagnostics: <no location info>: error:
module ‘haskell-ide-engine-0.2.0.0-7HZrGfRRjONEXbBFqqpRFd:Main’ is defined in multiple files:
/tmp/ghc-mod17562/MainHie17561-6.hs
/tmp/ghc-mod17564/RealFunctional17561-5.hs
Note: I think is because we put all the mapped files into the targets list in ghc-mod when loading.
Metadata
Metadata
Assignees
Labels
No labels