
#510: Don't call exitWithFailure on parse error, instead return error or throw exception ----------------------------+----------------------------------------------- Reporter: guest | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: Cabal library | Version: 1.6.0.1 Severity: minor | Keywords: Difficulty: unknown | Ghcversion: Platform: | ----------------------------+----------------------------------------------- Please consider modifying ''readPackageDescription'' so that it doesn't end up calling ''dieWithLocation''. It seems the decision of what to do when a parse error occurs is better made in the application rather than the library. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/510 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects