Fix broken pipe during test and gracefully exit the server #7991
Annotations
2 errors and 10 warnings
|
Hlint check run
HLint failed with status: 1. Error (1), Warning (90)
|
|
Hlint check run:
ghcide/src/Development/IDE/LSP/LanguageServer.hs#L306
Error: Parse error: on input `=' ▫︎ Found: " return ()\n \n> exceptionInHandler e = do\n logWith recorder Error $ LogReactorMessageActionException e\n"
|
|
Hlint check run:
ghcide-test/data/TH/THC.hs#L1
Warning in module THC: Use module export list ▫︎ Found: "module THC where" ▫︎ Perhaps: "module THC (\n module THC\n ) where" ▫︎ Note: an explicit list is usually better
|
|
Hlint check run:
ghcide-test/data/TH/THB.hs#L1
Warning in module THB: Use module export list ▫︎ Found: "module THB where" ▫︎ Perhaps: "module THB (\n module THB\n ) where" ▫︎ Note: an explicit list is usually better
|
|
Hlint check run:
ghcide-test/data/TH/THA.hs#L1
Warning in module THA: Use module export list ▫︎ Found: "module THA where" ▫︎ Perhaps: "module THA (\n module THA\n ) where" ▫︎ Note: an explicit list is usually better
|
|
Hlint check run:
ghcide/src/Text/Fuzzy/Levenshtein.hs#L1
Warning in module Text.Fuzzy.Levenshtein: Use module export list ▫︎ Found: "module Text.Fuzzy.Levenshtein where" ▫︎ Perhaps: "module Text.Fuzzy.Levenshtein (\n module Text.Fuzzy.Levenshtein\n ) where" ▫︎ Note: an explicit list is usually better
|
|
Hlint check run:
ghcide/session-loader/Development/IDE/Session/OrderedSet.hs#L1
Warning in module Development.IDE.Session.OrderedSet: Use module export list ▫︎ Found: "module Development.IDE.Session.OrderedSet where" ▫︎ Perhaps: "module Development.IDE.Session.OrderedSet (\n module Development.IDE.Session.OrderedSet\n ) where" ▫︎ Note: an explicit list is usually better
|
|
Hlint check run:
ghcide/session-loader/Development/IDE/Session/Ghc.hs#L1
Warning in module Development.IDE.Session.Ghc: Use module export list ▫︎ Found: "module Development.IDE.Session.Ghc where" ▫︎ Perhaps: "module Development.IDE.Session.Ghc (\n module Development.IDE.Session.Ghc\n ) where" ▫︎ Note: an explicit list is usually better
|
|
Hlint check run:
ghcide/session-loader/Development/IDE/Session/Diagnostics.hs#L1
Warning in module Development.IDE.Session.Diagnostics: Use module export list ▫︎ Found: "module Development.IDE.Session.Diagnostics where" ▫︎ Perhaps: "module Development.IDE.Session.Diagnostics (\n module Development.IDE.Session.Diagnostics\n ) where" ▫︎ Note: an explicit list is usually better
|
|
Hlint check run:
ghcide/session-loader/Development/IDE/Session/Dependency.hs#L1
Warning in module Development.IDE.Session.Dependency: Use module export list ▫︎ Found: "module Development.IDE.Session.Dependency where" ▫︎ Perhaps: "module Development.IDE.Session.Dependency (\n module Development.IDE.Session.Dependency\n ) where" ▫︎ Note: an explicit list is usually better
|
|
Hlint check run:
ghcide/session-loader/Development/IDE/Session.hs#L705
Warning in lookupOrWaitCache in module Development.IDE.Session: Use maybeM ▫︎ Found: "maybe (return Nothing) (guardedA (checkDependencyInfo . snd))\n =<<\n (atomically\n $ do Extra.whenM\n (S.lookup absFile (pendingFiles sessionState)) STM.retry\n checkInCache sessionState ncfp)" ▫︎ Perhaps: "maybeM\n (return Nothing) (guardedA (checkDependencyInfo . snd))\n (atomically\n $ do Extra.whenM\n (S.lookup absFile (pendingFiles sessionState)) STM.retry\n checkInCache sessionState ncfp)"
|
|
Hlint check run:
exe/Wrapper.hs#L1
Warning in module Main: Use module export list ▫︎ Found: "module Main where" ▫︎ Perhaps: "module Main (\n module Main\n ) where" ▫︎ Note: an explicit list is usually better
|