Skip to content

Commit b81ab15

Browse files
committed
Replace missing runGhcEnv with evalGhcEnv
1 parent db5e788 commit b81ab15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/default/src/Ide/Plugin/Retrie.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,8 +367,8 @@ callRetrie state session rewrites origin restrictToOriginatingFile = do
367367
Just (stringToStringBuffer contents)
368368
}
369369
logPriority (ideLogger state) Info $ T.pack $ "Parsing module: " <> t
370-
(_, parsed) <-
371-
runGhcEnv session (parseModule ms')
370+
parsed <-
371+
evalGhcEnv session (parseModule ms')
372372
`catch` \e -> throwIO (GHCParseError nt (show @SomeException e))
373373
(fixities, parsed) <- fixFixities f (fixAnns parsed)
374374
return (fixities, parsed)

0 commit comments

Comments
 (0)