diff options
author | David Waern <david.waern@gmail.com> | 2012-05-16 02:27:56 +0200 |
---|---|---|
committer | David Waern <david.waern@gmail.com> | 2012-05-16 02:27:56 +0200 |
commit | 27672d7a5bbc3dbd26de17472f10e41f71b9d110 (patch) | |
tree | 54be47591bfbb2a5acfd8990856a04437304c04f /src/Haddock/Backends/Xhtml | |
parent | b011c1a812c54e5f564fff7b15c1350ae5a78154 (diff) | |
parent | 3eb6d272850950e4d0c41ed1169258e8c332dbed (diff) |
Merge http://code.haskell.org/~thielema/haddock/ into ghc-7.4
Diffstat (limited to 'src/Haddock/Backends/Xhtml')
-rw-r--r-- | src/Haddock/Backends/Xhtml/Names.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Haddock/Backends/Xhtml/Names.hs b/src/Haddock/Backends/Xhtml/Names.hs index 88ba14dc..48d0f7f1 100644 --- a/src/Haddock/Backends/Xhtml/Names.hs +++ b/src/Haddock/Backends/Xhtml/Names.hs @@ -79,10 +79,10 @@ ppQualifyName qual name mdl = Just _ -> ppFullQualName mdl name -- some other module, D.x -> D.x Nothing -> ppFullQualName mdl name - AbbreviateQual abbrevs localmdl -> + AliasedQual aliases localmdl -> case (moduleString mdl == moduleString localmdl, - M.lookup (moduleName mdl) abbrevs) of - (False, Just abbrev) -> ppQualName abbrev name + M.lookup mdl aliases) of + (False, Just alias) -> ppQualName alias name _ -> ppName name |