aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Exception.hs
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-08-27 21:32:22 +0000
committerIan Lynagh <igloo@earth.li>2008-08-27 21:32:22 +0000
commit56f2789e70905b790fc961455bcb9fbe56cc6626 (patch)
tree3a2516baba03b1e0c641bf89a0f319c377222016 /src/Haddock/Exception.hs
parent2d80f85846a72a46a3640ac3d8041006c384cad8 (diff)
Fix some warnings
Diffstat (limited to 'src/Haddock/Exception.hs')
-rw-r--r--src/Haddock/Exception.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Haddock/Exception.hs b/src/Haddock/Exception.hs
index b537127c..eabc722e 100644
--- a/src/Haddock/Exception.hs
+++ b/src/Haddock/Exception.hs
@@ -25,6 +25,7 @@ instance Show HaddockException where
show (HaddockException str) = str
+throwE :: String -> a
#if __GLASGOW_HASKELL__ >= 609
instance Exception HaddockException
throwE str = throw (HaddockException str)