Skip to content

Commit 24abcc3

Browse files
committed
Replace missing runGhcEnv with evalGhcEnv
1 parent f4d5272 commit 24abcc3

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
@@ -368,8 +368,8 @@ callRetrie state session rewrites origin restrictToOriginatingFile = do
368368
Just (stringToStringBuffer contents)
369369
}
370370
logPriority (ideLogger state) Info $ T.pack $ "Parsing module: " <> t
371-
(_, parsed) <-
372-
runGhcEnv session (parseModule ms')
371+
parsed <-
372+
evalGhcEnv session (parseModule ms')
373373
`catch` \e -> throwIO (GHCParseError nt (show @SomeException e))
374374
(fixities, parsed) <- fixFixities f (fixAnns parsed)
375375
return (fixities, parsed)

0 commit comments

Comments
 (0)