aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock
diff options
context:
space:
mode:
authorRyan Scott <ryan.gl.scott@gmail.com>2020-11-13 13:38:32 -0500
committerRyan Scott <ryan.gl.scott@gmail.com>2020-11-13 13:38:34 -0500
commit4d0498d503bd51b7d7626497580232685a2691a1 (patch)
tree28a0cbaebca265846b2bb5d7c84b504513dda414 /haddock-api/src/Haddock
parentad9cbad7312a64e6757c32bd9488c55ba4f2fec9 (diff)
Adapt to splitPiTysInvisible being renamed to splitInvisPiTys
This is a part of !4434, a fix for GHC#18939.
Diffstat (limited to 'haddock-api/src/Haddock')
-rw-r--r--haddock-api/src/Haddock/Convert.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/haddock-api/src/Haddock/Convert.hs b/haddock-api/src/Haddock/Convert.hs
index 2f342ba4..2a711e5c 100644
--- a/haddock-api/src/Haddock/Convert.hs
+++ b/haddock-api/src/Haddock/Convert.hs
@@ -230,7 +230,7 @@ synifyTyCon prr _coax tc
| otherwise = noLoc $ KindedTyVar noExtField () (noLoc (getName fakeTyVar)) (synifyKindSig realKind)
conKind = defaultType prr (tyConKind tc)
- tyVarKinds = fst . splitFunTys . snd . splitPiTysInvisible $ conKind
+ tyVarKinds = fst . splitFunTys . snd . splitInvisPiTys $ conKind
synifyTyCon _prr _coax tc
| Just flav <- famTyConFlav_maybe tc