Skip to content

Commit

Permalink
Replace missing runGhcEnv with evalGhcEnv
Browse files Browse the repository at this point in the history
  • Loading branch information
jneira committed Oct 23, 2020
1 parent db5e788 commit b81ab15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/default/src/Ide/Plugin/Retrie.hs
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,8 @@ callRetrie state session rewrites origin restrictToOriginatingFile = do
Just (stringToStringBuffer contents)
}
logPriority (ideLogger state) Info $ T.pack $ "Parsing module: " <> t
(_, parsed) <-
runGhcEnv session (parseModule ms')
parsed <-
evalGhcEnv session (parseModule ms')
`catch` \e -> throwIO (GHCParseError nt (show @SomeException e))
(fixities, parsed) <- fixFixities f (fixAnns parsed)
return (fixities, parsed)
Expand Down

0 comments on commit b81ab15

Please sign in to comment.