[GHC] #8159: Uses of Binary decode should have a proper error message

GHC ghc-devs at haskell.org
Fri Aug 23 12:56:20 UTC 2013


#8159: Uses of Binary decode should have a proper error message
-------------------------------+-------------------------------------------
        Reporter:  nh2         |            Owner:
            Type:  bug         |           Status:  new
        Priority:  low         |        Milestone:
       Component:  Compiler    |          Version:  7.6.3
      Resolution:              |         Keywords:
Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple             |       Difficulty:  Easy (less than 1 hour)
 Type of failure:              |       Blocked By:
  None/Unknown                 |  Related Tickets:
       Test Case:              |
        Blocking:              |
-------------------------------+-------------------------------------------

Comment (by adamgundry):

 It would be nice to give this a better error message that explains what is
 going on. I quite often get messages like this when changing the interface
 file format:

 {{{
 ghc-stage2: panic! (the 'impossible' happened)
   (GHC version 7.7.20130821 for i386-unknown-linux):
         Ix{Int}.index: Index (4352) out of range ((0,582))
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8159#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler




More information about the ghc-tickets mailing list