Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Invalid operator import creates dangling workDoneProgress notifications #1749

Open
Anrock opened this issue Apr 21, 2020 · 1 comment
Open

Comments

@Anrock
Copy link
Collaborator

Anrock commented Apr 21, 2020

HIE: Version 1.3, Git revision e61670f (3874 commits) x86_64 ghc-8.6.5
Stack: Version 2.1.3, Git revision 0fa51b9925decd937e4a993ad90cb686f88fa282 (7739 commits) x86_64 hpack-0.31.2
Nvim: NVIM v0.5.0-453-g685468057-dirty
With Coc as LSC

Repro:

  1. Create testing stack project via stack new test simple
  2. Have following src/Main.hs:
module Main where

import Data.Function ((&))
main :: IO ()
main = do
  putStrLn "hello world"

something = undefined
  1. Wait for HIE to calm down with initializing project
  2. Delete last ) on import Data.Function ((&))
  3. Dangling loading workDoneProgress appears

Further modifying same file (like deleting undefined from something line) will create more dangling notifications.

Also opening this file with import initially broken will create a lot of dangling Starting LS languageserver.haskell.

LSP log from CoC

@Anrock
Copy link
Collaborator Author

Anrock commented May 17, 2020

Not reproducible in HLS, so whatever.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant