HaRe-0.7.1.6: the Haskell Refactorer.

Safe HaskellNone

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