File tree 4 files changed +4
-4
lines changed 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ runEvalCmd lsp state EvalParams {..} = withIndefiniteProgress lsp "Eval" Cancell
176
176
toNormalizedFilePath' $
177
177
fp
178
178
179
- ms <-
179
+ (ms, _) <-
180
180
liftIO $
181
181
runAction " runEvalCmd.getModSummary" state $
182
182
use_ GetModSummary $
Original file line number Diff line number Diff line change @@ -360,7 +360,7 @@ callRetrie state session rewrites origin restrictToOriginatingFile = do
360
360
getCPPmodule t = do
361
361
nt <- toNormalizedFilePath' <$> makeAbsolute t
362
362
let getParsedModule f contents = do
363
- modSummary <-
363
+ ( modSummary, _) <-
364
364
useOrFail " GetModSummary" (CallRetrieInternalError " file not found" ) GetModSummary nt
365
365
let ms' =
366
366
modSummary
Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ judgementForHole state nfp range = do
247
247
248
248
-- Ok to use the stale 'ModIface', since all we need is its 'DynFlags'
249
249
-- which don't change very often.
250
- (modsum, _) <- MaybeT $ runIde state $ useWithStale GetModSummaryWithoutTimestamps nfp
250
+ (( modsum,_) , _) <- MaybeT $ runIde state $ useWithStale GetModSummaryWithoutTimestamps nfp
251
251
let dflags = ms_hspp_opts modsum
252
252
253
253
(rss, goal) <- liftMaybe $ join $ listToMaybe $ M. elems $ flip M. mapWithKey (getAsts $ hieAst asts) $ \ fs ast ->
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ instance Show Var where
65
65
instance Show TCvSubst where
66
66
show = unsafeRender
67
67
68
- instance Show (LHsExpr GhcPs ) where
68
+ instance {-# OVERLAPPING #-} Show (LHsExpr GhcPs ) where
69
69
show = unsafeRender
70
70
71
71
instance Show DataCon where
You can’t perform that action at this time.
0 commit comments