Wed Jun 2 10:37:03 PDT 2010 Duncan Coutts
* Fix QA check on version range syntax to detect use of ()'s
The problem was that we do the QA check on using the new version range
syntax after parsing. The new syntax allows ()'s but previously the
code threw them away in the parser stage. We now retain them in the
AST and deal with them appropriately. This now allows the QA check to
be accurate and detect things like "build-depends: base (>= 4.2)".
M ./Distribution/PackageDescription/Check.hs -14 +55
M ./Distribution/Version.hs -5 +10
M ./tests/Test/Distribution/Version.hs -7 +61
View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=cabal;a=darcs_commitdiff;h=2...