Haskell-language-server: Desugarer warnings

Created on 16 Dec 2020  路  3Comments  路  Source: haskell/haskell-language-server

Has haskell/ghcide#107 crept back in?

Just updated to HLS 0.7 via the VScode plugin and I'm back to not seeing any "incomplete pattern match" warning on e.g.:

{-# OPTIONS_GHC -Wall #-}

f = \case
    Nothing -> ()

:cry:

ghcide bug

Most helpful comment

This is probably due to https://github.com/haskell/ghcide/pull/904 , so HLS has to be modified add action kick to its rules, as done here: https://github.com/haskell/ghcide/blob/6365d3cc61e98515333f5fc77b1dabf64475b1fa/exe/Main.hs#L121

/cc @jneira unfortunately this probably warrants another release :(

All 3 comments

I'm back to not seeing any "incomplete pattern match" warning

Unless I enable TemplateHaskell. But that wasn't necessary in 0.6.

This is probably due to https://github.com/haskell/ghcide/pull/904 , so HLS has to be modified add action kick to its rules, as done here: https://github.com/haskell/ghcide/blob/6365d3cc61e98515333f5fc77b1dabf64475b1fa/exe/Main.hs#L121

/cc @jneira unfortunately this probably warrants another release :(

No worries, i hope this one will be less problematic 馃

Was this page helpful?
0 / 5 - 0 ratings