[GHC] #6133: bad error message when incorrect format package db is supplied
GHC
cvs-ghc at haskell.org
Mon Jun 4 17:28:55 CEST 2012
#6133: bad error message when incorrect format package db is supplied
---------------------------------+------------------------------------------
Reporter: gfxmonk | Owner: pcapriotti
Type: bug | Status: new
Priority: normal | Milestone:
Component: ghc-pkg | Version: 7.0.4
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: Compile-time crash
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Comment(by p.capriotti@…):
commit 50fddb2b046605315f903d9b744780497cc978de
{{{
Author: Paolo Capriotti <p.capriotti at gmail.com>
Date: Mon Jun 4 11:59:25 2012 +0100
Improve error message for invalid package db file (#6133).
Use `reads` instead of `read` to parse package configuration files,
and
report a meaningful error when the parsing fails.
compiler/main/Packages.lhs | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6133#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list