X-Git-Url: http://git.lukelau.me/?a=blobdiff_plain;f=src%2FLanguage%2FHaskell%2FLSP%2FTest%2FCompat.hs;h=2372b09eabdb70e20fb25024eb244bc898f134d1;hb=0f8b9d328f4d950ff0a2e1c3b5aed593b21c2d3a;hp=cd7de0885e31db77eabd2f5b5b289255bf44385e;hpb=a65254a5b7a5312bc616d601737f8595b14279ef;p=lsp-test.git diff --git a/src/Language/Haskell/LSP/Test/Compat.hs b/src/Language/Haskell/LSP/Test/Compat.hs index cd7de08..2372b09 100644 --- a/src/Language/Haskell/LSP/Test/Compat.hs +++ b/src/Language/Haskell/LSP/Test/Compat.hs @@ -1,4 +1,8 @@ {-# LANGUAGE CPP #-} +-- For some reason ghc warns about not using +-- Control.Monad.IO.Class but it's needed for +-- MonadIO +{-# OPTIONS_GHC -Wunused-imports #-} module Language.Haskell.LSP.Test.Compat where import Control.Concurrent.Chan @@ -28,3 +32,4 @@ chanSource c = do x <- liftIO $ readChan c yield x chanSource c + \ No newline at end of file