From 780fdc54b96c40aedb75db4638530c110c07e96f Mon Sep 17 00:00:00 2001 From: "Iavor S. Diatchki" Date: Mon, 19 Mar 2012 20:31:27 -0700 Subject: Add a missing case for type literals. --- src/Haddock/Interface/Rename.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Haddock/Interface/Rename.hs b/src/Haddock/Interface/Rename.hs index 6034688e..0e75fef7 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" -- cgit v1.2.3