The build is broken? (Haddock parse error)
Simon Peyton Jones
simonpj at microsoft.com
Thu Jul 17 08:21:43 UTC 2014
| > 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
| > ghc-devs at haskell.org
| > 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..."?
S
More information about the ghc-devs
mailing list