HaRe-0.8.3.0: the Haskell Refactorer.

Safe HaskellNone
LanguageHaskell98

Language.Haskell.Refact.Utils.GhcBugWorkArounds

Description

Provide workarounds for bugs detected in GHC, until they are fixed in a later version

Synopsis

Documentation

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