On Thu, Jul 17, 2014 at 08:21:43AM +0000, Simon Peyton Jones wrote: > > | > parse error on input ‘-- *kind* and role of its argument. > | Luckily, > | > laziness should’ > | > > | > [1] http://haskell.inf.elte.hu/builders/freebsd-amd64- > | head/322/10.html > | > _______________________________________________ > | > ghc-devs mailing list > | > [email protected] > | > http://www.haskell.org/mailman/listinfo/ghc-devs > | > > | > | ‘-- *’ is Haddock syntax for headers and because GHC doesn't expect a > | Haddock comment there, it chucks a parse error. I think just adding a > | leading space or turning it into {- -} style comment would work. > | > | In all honesty, GHC should just warn and treat as regular comments at > | these cases rather than failing. > > I agree. I've been bitten by this several times. But don't you mean > "Haddock should just warn..."?
The corresponding code is in GHC (only used with Opt_Haddock). So we need to change this in GHC. Cheers, Simon _______________________________________________ ghc-devs mailing list [email protected] http://www.haskell.org/mailman/listinfo/ghc-devs
