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.
Project cannot have multiple Main:main modules #770
Closed
Description
I have a folder filled with small independent .hs programs for my experiments with Haskell. There are no cabal or stack configuration files since it is not an actual project (I run individual files in it with runghc
). However, I cannot seem to use HIE with it since all of the files have their own Main:main.
Starting from when I open the second file, I get a warning notification after every edit: Got error while processing diagnostics: : error: module ‘main:Main’ is defined in multiple files
, after which nothing works (confirmed on Atom and VS Code).
Is there any way I can get HIE to work with this?
Metadata
Metadata
Assignees
Labels
No labels