diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-11-07 17:19:53 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2019-11-09 13:21:33 -0500 |
commit | e3c045f9265e39c1a77aa003bf35785e1871a9d5 (patch) | |
tree | b50139d3a2ffcbf32a310299f8a0304c3222f3d0 /haddock-api/src | |
parent | dacaaadfac740411e66e76b1e7b9d0ecf224b0fb (diff) |
Import isRuntimeRepVar from Type rather than TyCoRep
isRuntimeRepVar is not longer exported from TyCoRep due to ghc#17441.
Diffstat (limited to 'haddock-api/src')
-rw-r--r-- | haddock-api/src/Haddock/GhcUtils.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/haddock-api/src/Haddock/GhcUtils.hs b/haddock-api/src/Haddock/GhcUtils.hs index cef1e6e9..d81e5f3e 100644 --- a/haddock-api/src/Haddock/GhcUtils.hs +++ b/haddock-api/src/Haddock/GhcUtils.hs @@ -38,7 +38,8 @@ import Var ( VarBndr(..), TyVarBinder, tyVarKind, updateTyVarKind, isInvisibleArgFlag ) import VarSet ( VarSet, emptyVarSet ) import VarEnv ( TyVarEnv, extendVarEnv, elemVarEnv, emptyVarEnv ) -import TyCoRep ( Type(..), isRuntimeRepVar ) +import TyCoRep ( Type(..) ) +import Type ( isRuntimeRepVar ) import TysWiredIn( liftedRepDataConTyCon ) import StringBuffer ( StringBuffer ) |