Ticket #137 (closed defect: duplicate)
Cannot place -- ^ comment after GADT constructor
| Reported by: | nr | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Version: | 2.6.0 | Keywords: | |
| Cc: |
Description
This might be the same problem as ticket #43; I couldn't quite tell. The offending code is
{-# LANGUAGE GADTs #-}
module Haddock
where
data Lit a where
I :: Int -> Lit Int -- ^ an integer
B :: Bool -> Lit Bool -- ^ a Boolean
And Haddock reports
Haddock.hs:6:24: parse error on input `-- ^ an integer'
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
