HackageDB: Haddock parse failure

HackageDB reports a build failure for happy-meta-0.1.1 (http://hackage.haskell.org/package/happy-meta-0.1.1), but from the log it seems that the failure occurs when building the documentation. The error is src/LALR.lhs:230:2: parse error on input `numberSets' I'm guessing there is no syntax error in this file (it is taken from Happy), but rather an error in Haddock? Also, perhaps HackageDB should ignore errors in building the documentation? Currently the reported build failure propagates to the dependencies of the library... /J

On Mon, Sep 27, 2010 at 06:22:09PM +0200, Jonas Almström Duregård wrote:
Also, perhaps HackageDB should ignore errors in building the documentation? Currently the reported build failure propagates to the dependencies of the library...
The only reason it's building is to generate the documentation, and to do that you need the interface files haddock creates for the pre-requisite packages.

Den 27 september 2010 18:22 skrev Jonas Almström Duregård
HackageDB reports a build failure for happy-meta-0.1.1 (http://hackage.haskell.org/package/happy-meta-0.1.1), but from the log it seems that the failure occurs when building the documentation.
The error is src/LALR.lhs:230:2: parse error on input `numberSets'
I'm guessing there is no syntax error in this file (it is taken from Happy), but rather an error in Haddock?
I suspect this has something to do with the comment before that line. I might be wrong but I think Cabal turns the text in literal haskell files into haddock comments. If that's the case then you have to be careful to not use haddock comment markup in the wrong way. David
participants (3)
-
David Waern
-
Jonas Almström Duregård
-
Ross Paterson