Cabal bug

Simon Peyton-Jones simonpj at microsoft.com
Fri Aug 3 15:34:07 EDT 2007


I have not been following the recent work on Cabal, but I tried to build in the gap before this patch was committed.  I
Fri Aug  3 18:57:01 GMT Daylight Time 2007  Thomas Schilling <nominolo at gmail.com>
  * Fix tab in Cabal.cabal.

I was surprised to find that tabs are disallowed in cabal files.  Is that really the intention?  It seems like a pitfall for the unwary!  At the very least, if they must be disallowed, could the error message be more informative?  At the moment we get
                Setup.exe: Cabal.cabal:70: Unrecognized field format: 'Distribution.Simple.SetupWrapper,'

It'd be better to get
                Setup.exe: Cabal.cabal:70: illegal tab character: replace with spaces

Simon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/libraries/attachments/20070803/cea15d5c/attachment.htm


More information about the Libraries mailing list