Fix missing OccName import for ghc 7.4

This commit is contained in:
Alejandro Serrano 2014-07-02 17:18:03 +02:00
parent 5db4044f29
commit df258843d9

View File

@ -21,8 +21,10 @@ import Outputable (PprStyle)
import qualified Type as Ty
import qualified HsBinds as Ty
import qualified Class as Ty
#if __GLASGOW_HASKELL__ >= 706
import OccName (occName)
#if __GLASGOW_HASKELL__ < 706
#else
import OccName (OccName)
import RdrName (rdrNameOcc)
#endif
import qualified Language.Haskell.Exts.Annotated as HE