Add a comment discouraging the use of toGhcMod
in new code
This commit is contained in:
parent
75b838bab6
commit
86a7f954e3
@ -124,6 +124,7 @@ withErrorHandler label = ghandle ignore
|
||||
hPrint stderr e
|
||||
exitSuccess
|
||||
|
||||
-- | This is only a transitional mechanism don't use it for new code.
|
||||
toGhcMod :: Ghc a -> GhcMod a
|
||||
toGhcMod a = do
|
||||
s <- gmGhcSession <$> ask
|
||||
|
Loading…
Reference in New Issue
Block a user