You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
src/Language/LSP/Test/Session.hs:154:19: error:
• Variable not in scope:
lift
:: t0
-> ConduitParser
FromServerMessage
(StateT SessionState (ReaderT SessionContext IO))
SessionContext
• Perhaps you meant one of these:
‘liftM’ (imported from Control.Monad),
‘liftA’ (imported from Control.Applicative)
|
154 | ask = Session (lift $ lift Reader.ask)
| ^^^^
src/Language/LSP/Test/Session.hs:154:26: error:
• Variable not in scope: lift :: ReaderT r0 m6 r0 -> t0
• Perhaps you meant one of these:
‘liftM’ (imported from Control.Monad),
‘liftA’ (imported from Control.Applicative)
|
154 | ask = Session (lift $ lift Reader.ask)
| ^^^^
src/Language/LSP/Test/Session.hs:157:9: error:
• Variable not in scope:
lift :: t1 -> ConduitM a b (StateT s (ReaderT r m)) r
• Perhaps you meant one of these:
‘liftM’ (imported from Control.Monad),
‘liftA’ (imported from Control.Applicative)
|
157 | ask = lift $ lift Reader.ask
| ^^^^
src/Language/LSP/Test/Session.hs:157:16: error:
• Variable not in scope: lift :: ReaderT r1 m7 r1 -> t1
• Perhaps you meant one of these:
‘liftM’ (imported from Control.Monad),
‘liftA’ (imported from Control.Applicative)
|
157 | ask = lift $ lift Reader.ask
| ^^^^
src/Language/LSP/Test/Session.hs:197:18: error:
• Variable not in scope:
lift
:: StateT s2 m4 s2
-> ConduitParser
FromServerMessage
(StateT SessionState (ReaderT SessionContext IO))
SessionState
• Perhaps you meant one of these:
‘liftM’ (imported from Control.Monad),
‘liftA’ (imported from Control.Applicative)
|
197 | get = Session (lift State.get)
| ^^^^
src/Language/LSP/Test/Session.hs:198:19: error:
• Variable not in scope:
lift
:: StateT SessionState m5 ()
-> ConduitParser
FromServerMessage
(StateT SessionState (ReaderT SessionContext IO))
()
• Perhaps you meant one of these:
‘liftM’ (imported from Control.Monad),
‘liftA’ (imported from Control.Applicative)
|
198 | put = Session . lift . State.put
| ^^^^
src/Language/LSP/Test/Session.hs:206:9: error:
• Variable not in scope: lift :: m2 s1 -> ConduitM a b m s
• Perhaps you meant one of these:
‘liftM’ (imported from Control.Monad),
‘liftA’ (imported from Control.Applicative)
|
206 | get = lift get
| ^^^^
src/Language/LSP/Test/Session.hs:207:9: error:
• Variable not in scope: lift :: m3 () -> ConduitM a b m ()
• Perhaps you meant one of these:
‘liftM’ (imported from Control.Monad),
‘liftA’ (imported from Control.Applicative)
|
207 | put = lift . put
| ^^^^
src/Language/LSP/Test/Session.hs:211:9: error:
• Variable not in scope: lift :: m0 s0 -> ConduitParser a m s
• Perhaps you meant one of these:
‘liftM’ (imported from Control.Monad),
‘liftA’ (imported from Control.Applicative)
|
211 | get = lift get
| ^^^^
src/Language/LSP/Test/Session.hs:212:9: error:
• Variable not in scope: lift :: m1 () -> ConduitParser a m ()
• Perhaps you meant one of these:
‘liftM’ (imported from Control.Monad),
‘liftA’ (imported from Control.Applicative)
|
212 | put = lift . put
| ^^^^
FYI: I just tried building dhall-lsp-server with lspmaster, and encountered a build error for which I found no explanation in the changelogs:
src/Dhall/LSP/Handlers.hs:94:60: error:
• Couldn't match expected type ‘Rope.Rope’
with actual type ‘text-rope-0.1:Data.Text.Utf16.Rope.Rope’
NB: ‘text-rope-0.1:Data.Text.Utf16.Rope.Rope’
is defined in ‘Data.Text.Utf16.Rope’ in package ‘text-rope-0.1’
‘Rope.Rope’
is defined in ‘Data.Rope.UTF16.Internal’
in package ‘rope-utf16-splay-0.3.2.0’
• In the first argument of ‘Rope.toText’, namely ‘rope’
In the first argument of ‘return’, namely ‘(Rope.toText rope)’
In the expression: return (Rope.toText rope)
|
94 | Just (LSP.VirtualFile _ _ rope) -> return (Rope.toText rope)
| ^^^^
Activity
sjakobi commentedon May 10, 2022
FYI:
lsp-testis blocked on https://github.com/k0ral/conduit-parse/issues/4.michaelpj commentedon May 11, 2022
Thank you!
sjakobi commentedon May 11, 2022
Now that https://github.com/k0ral/conduit-parse/issues/4 is fixed,
lsp-testis showing build failures:Since this code is already present in the earliest releases of
lsp-test, I've revised them all. See e.g. https://hackage.haskell.org/package/lsp-test-0.14.0.2/revisions/.michaelpj commentedon May 17, 2022
I've merged a fix that builds with both versions of
mtl, so we should be good. I'll try and do a release shortly.sjakobi commentedon May 17, 2022
If possible, it would be nice if the new releases were compatible with
transformers-0.6too.michaelpj commentedon May 17, 2022
Thanks, for some reason I thought
mtl >= 2.3would force the newtransformerstoo. I'll look into that.sjakobi commentedon May 17, 2022
It's the other way round:
transformers >= 0.6will forcemtl >= 2.3.michaelpj commentedon May 17, 2022
No build failures with
transformers >= 0.6, although I neededallow-newer: safe-exceptions:transformersif you're chasing these things.sjakobi commentedon May 20, 2022
FYI: I just tried building
dhall-lsp-serverwithlspmaster, and encountered a build error for which I found no explanation in the changelogs:michaelpj commentedon May 20, 2022
Yes, there are breaking changes on master. I will create a changelog when I do the release.
sjakobi commentedon Jun 5, 2022
Ping! A release would be nice! :)
michaelpj commentedon Jun 20, 2022
Released! Sorry for the delay.