Skip to content

Commit 904da4f

Browse files
committed
Fix reduction depth
Fixes #1743
1 parent 3be343a commit 904da4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ghcide/src/Development/IDE/GHC/ExactPrint.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,8 @@ graftExprWithM dst trans = Graft $ \dflags a -> do
292292
case mval of
293293
Just val' -> do
294294
(anns, val'') <-
295-
hoistTransform (either Fail.fail pure) $
296-
annotate dflags needs_space $ mk_parens val'
295+
hoistTransform (either Fail.fail pure)
296+
(annotate @(HsExpr GhcPs) dflags needs_space (mk_parens val'))
297297
modifyAnnsT $ mappend anns
298298
pure val''
299299
Nothing -> pure val

0 commit comments

Comments
 (0)