We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3be343a commit 904da4fCopy full SHA for 904da4f
ghcide/src/Development/IDE/GHC/ExactPrint.hs
@@ -292,8 +292,8 @@ graftExprWithM dst trans = Graft $ \dflags a -> do
292
case mval of
293
Just val' -> do
294
(anns, val'') <-
295
- hoistTransform (either Fail.fail pure) $
296
- annotate dflags needs_space $ mk_parens val'
+ hoistTransform (either Fail.fail pure)
+ (annotate @(HsExpr GhcPs) dflags needs_space (mk_parens val'))
297
modifyAnnsT $ mappend anns
298
pure val''
299
Nothing -> pure val
0 commit comments