Safe Haskell | None |
---|
Provide workarounds for bugs detected in GHC, until they are fixed in a later version
- bypassGHCBug7351 :: [PosToken] -> [PosToken]
- getRichTokenStreamWA :: GhcMonad m => Module -> m [(Located Token, String)]
Documentation
bypassGHCBug7351 :: [PosToken] -> [PosToken]Source
getRichTokenStreamWA :: GhcMonad m => Module -> m [(Located Token, String)]Source
Replacement for original getRichTokenStream
which will return
the tokens for a file processed by CPP.
See bug http://ghc.haskell.org/trac/ghc/ticket/8265