diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2014-07-14 16:23:15 +0100 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2014-07-14 16:23:15 +0100 |
commit | cb96b4f1ed0462b4a394b9fda6612c3bea9886bd (patch) | |
tree | 5c1bb97bd4301b58e4616051cab07abf86477b2e /src/Haddock/GhcUtils.hs | |
parent | 8d20ca8d5a9bee73252ff2035ec45f9c03d0820c (diff) |
Adapt to new definition of HsDecls.TyFamEqn
This is a knock-on from the refactoring from Trac #9063.
I'll push the corresponding changes to GHC shortly.
Diffstat (limited to 'src/Haddock/GhcUtils.hs')
-rw-r--r-- | src/Haddock/GhcUtils.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Haddock/GhcUtils.hs b/src/Haddock/GhcUtils.hs index c06b34a6..8ea5485b 100644 --- a/src/Haddock/GhcUtils.hs +++ b/src/Haddock/GhcUtils.hs @@ -102,7 +102,7 @@ getInstLoc (TyFamInstD (TyFamInstDecl -- Since CoAxioms' Names refer to the whole line for type family instances -- in particular, we need to dig a bit deeper to pull out the entire -- equation. This does not happen for data family instances, for some reason. - { tfid_eqn = L _ (TyFamInstEqn { tfie_rhs = L l _ })})) = l + { tfid_eqn = L _ (TyFamEqn { tfe_rhs = L l _ })})) = l -- Useful when there is a signature with multiple names, e.g. -- foo, bar :: Types.. |