Skip to content

Commit

Permalink
exceptions needed with ghc 9.6+
Browse files Browse the repository at this point in the history
  • Loading branch information
jhrcek committed Apr 14, 2024
1 parent 8c4081b commit ec6b502
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lsp-types/lsp-types.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ library
else
build-depends: filepath >=1.4 && < 1.6

if impl(ghc >= 9.6)
build-depends: exceptions ^>=0.10

ghc-options:
-Wall -Wmissing-deriving-strategies
-Wno-unticked-promoted-constructors
Expand Down
1 change: 1 addition & 0 deletions lsp/src/Language/LSP/Server/Processing.hs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ import Data.IxMap
import Data.List
import Data.List.NonEmpty (NonEmpty (..))
import Data.Map.Strict qualified as Map
import Data.Monoid
import Data.String (fromString)
import Data.Text qualified as T
import Data.Text.Lazy.Encoding qualified as TL
Expand Down

0 comments on commit ec6b502

Please sign in to comment.