Skip to content

Commit 876cf49

Browse files
authored
Merge pull request #485 from joyfulmantis/ospath-fix
More 9.6 Import fixes
2 parents 70099f3 + 50a6149 commit 876cf49

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

lsp-test/src/Language/LSP/Test/Session.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ import Control.Lens hiding (List, Empty)
4343
import Control.Monad
4444
import Control.Monad.Catch (MonadThrow)
4545
import Control.Monad.Except
46+
import Control.Monad.IO.Class
47+
import Control.Monad.Trans.Class
4648
#if __GLASGOW_HASKELL__ == 806
4749
import Control.Monad.Fail
4850
#endif

lsp-types/lsp-types.cabal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ library
7474
, deepseq
7575
, Diff >=0.2
7676
, dlist
77+
, exceptions
7778
, hashable
7879
, lens >=4.15.2
7980
, mod

lsp-types/src/Language/LSP/Protocol/Types/Uri/OsPath.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module Language.LSP.Protocol.Types.Uri.OsPath
1919
import Control.Exception hiding (try)
2020
import Control.Monad.Catch
2121
import GHC.IO.Encoding (getFileSystemEncoding)
22-
import Language.LSP.Types.Uri
22+
import Language.LSP.Protocol.Types.Uri
2323
import System.IO
2424
import System.IO.Unsafe (unsafePerformIO)
2525
import System.OsPath

lsp-types/test/URIFilePathSpec.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ import qualified System.OsPath as OsPath
1818
#endif
1919

2020
import Control.Monad (when)
21+
import Control.Exception (throwIO)
2122
import Data.List
23+
import Data.Maybe (fromJust)
2224
import Data.Text (Text, pack)
2325
import Language.LSP.Protocol.Types
2426

0 commit comments

Comments
 (0)