[Hackage] #510: Don't call exitWithFailure on parse error, instead return error or throw exception

Hackage trac at galois.com
Fri Feb 27 04:34:07 EST 2009


#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


More information about the cabal-devel mailing list