Skip to content

All results from HIE are null #190

@JorisBlanken

Description

@JorisBlanken

I'm running extension version 0.0.34, but there doesn't seem to be any functionality.
I took at look at the HIE output and it looks like all results are returned as null.

I setup a small hello world project with a single file:

--main.hs
module Main where

    main :: IO ()
    main = putStrLn "Hello, World!"

Here's what is logged by HIE when hovering over main:

2020-01-05 10:44:16.3157095 [ThreadId 3] - ---> {"jsonrpc":"2.0","id":9,"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///d%3A/source/demo-project/main.hs"},"position":{"line":4,"character":5}}}
2020-01-05 10:44:16.3167021 [ThreadId 9] - ****** reactor: got message number:21
2020-01-05 10:44:16.3167021 [ThreadId 9] - reactor:got HoverRequest:RequestMessage {_jsonrpc = "2.0", _id = IdInt 9, _method = TextDocumentHover, _params = TextDocumentPositionParams {_textDocument = TextDocumentIdentifier {_uri = Uri {getUri = "file:///d%3A/source/demo-project/main.hs"}}, _position = Position {_line = 4, _character = 5}, _workDoneToken = Nothing}}
2020-01-05 10:44:16.3167021 [ThreadId 9] - reactor:HoverRequest done
2020-01-05 10:44:16.3167021 [ThreadId 9] - ****** reactor: top of loop
2020-01-05 10:44:16.3167021 [ThreadId 15] - ideDispatcher: got request 21 with id: IdInt 9
2020-01-05 10:44:16.3177136 [ThreadId 15] - ideDispatcher: top of loop
2020-01-05 10:44:16.3177136 [ThreadId 4] - <--2--{"result":null,"jsonrpc":"2.0","id":9}

This project only contains the single haskell file (i.e. stack init wasn't used).
The extension has worked for me in the past, any ideas what's happening here?

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