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.

HIE errors on startup for single standalone file #1550

@alanz

Description

@alanz

Creating a directory with a single main.hs file no longer works. See haskell/vscode-haskell#190

$ hie-8.6.5
Running HIE(hie-8.6.5)
  Version 1.0.0.0, Git revision 7f0824033c3870eb0814e72681dc2bb74fd435e6 (3560 commits) x86_64 ghc-8.6.5
To run as a LSP server on stdio, provide the '--lsp' argument
Current directory:/tmp/blah

args:[]

Looking for project config cradle...

2020-01-05 18:11:04.183746134 [ThreadId 4] - Could not find a Project for file: /tmp/blah/File.hs
2020-01-05 18:11:04.183923802 [ThreadId 4] - Module "/tmp/blah/File.hs" is loaded by Cradle: Cradle {cradleRootDir = "/tmp/blah", cradleOptsProg = CradleAction: Cabal-Helper-None}
Cradle:Cabal project

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions