Ticket #100 (closed defect: duplicate)
Haddock dies with Maybe.fromJust: Nothing when using template haskell
| Reported by: | topi | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Version: | 2.4.1 | Keywords: | |
| Cc: |
Description
Given the files:
A.hs
{-# LANGUAGE TemplateHaskell #-}
module A where
import Language.Haskell.TH
f :: String -> Q [Dec]
f = undefined
B.hs
{-# LANGUAGE TemplateHaskell #-}
module B where
import A
$(f "abc")
And haddock (fresh from hackage):
$ haddock --version Haddock version 2.4.2, (c) Simon Marlow 2006 Ported to use the GHC API by David Waern 2006-2008
My haddock dies with:
$ haddock --html -o temp A.hs B.hs haddock: internal Haddock or GHC error: Maybe.fromJust: Nothing
Is there no support for template haskell. :-(
Change History
Note: See
TracTickets for help on using
tickets.
