Skip to content
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
@ajeetdsouza

Description

@ajeetdsouza

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions