Oops. I was relying on Travis's validation, which skips haddocking.

This is most likely why Phab's build failed.

Thanks for fixing it!
Richard

On Jul 17, 2014, at 4:44 AM, Simon Hengel <[email protected]> wrote:

> 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
> 

_______________________________________________
ghc-devs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-devs

Reply via email to