aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Interface/Rename.hs
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2012-03-26 09:14:37 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2012-03-26 09:14:37 +0100
commit0a9b99a0c916100e7087026d29253d72f1ff9057 (patch)
treedbfbb08cb497190fa60e8525b81303b216728121 /src/Haddock/Interface/Rename.hs
parent1e6e6c01babee971420e1876cdffdfb0bf673c1e (diff)
parent925c54bbffaf90b5719b332628c7540ab13dc6c2 (diff)
Merge branch 'master' of http://darcs.haskell.org//haddock
Diffstat (limited to 'src/Haddock/Interface/Rename.hs')
-rw-r--r--src/Haddock/Interface/Rename.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Haddock/Interface/Rename.hs b/src/Haddock/Interface/Rename.hs
index 7417d234..1c54216b 100644
--- a/src/Haddock/Interface/Rename.hs
+++ b/src/Haddock/Interface/Rename.hs
@@ -259,6 +259,8 @@ renameType t = case t of
doc' <- renameLDocHsSyn doc
return (HsDocTy ty' doc')
+ HsTyLit x -> return (HsTyLit x)
+
_ -> error "renameType"