Skip to content

Error: "Connection got disposed" on eval  #2363

Open
@Hu1buerger

Description

@Hu1buerger
versions Haskell extension v1.7.1. GHCi, version 8.10.7 Vscode:
Version: 1.62.2
Commit: 3a6960b964327f0e3882ce18fcebd07ed191b316
Date: 2021-11-11T20:59:05.913Z (5 days ago)
Electron: 13.5.2
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Darwin x64 20.6.0

How to reproduce

Assume the following code. Opened in Vscode as test.hs.

{-|
>>> add 1 2

}
add x y = x + y 
  1. The extension will show Evaluate... on top of >>>add 1 2.
  2. At first it is just stating evaluating without response.
  3. Once clicked a new window pops up in the bottom right corner of the window
  4. It states REDCROSS_IN_CIRCLE Connection got disposed

What I tried.

  1. I tried to run the command >Haskell: Restart Haskell LSP Server
  2. I rebooted the system

No fix as of now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: hls-eval-plugintype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions