[GHC] #8570: In a pattern binding:ghc: panic! (the 'impossible' happened): Bogus selector Id

GHC ghc-devs at haskell.org
Fri Nov 29 07:31:54 UTC 2013


#8570: In a pattern binding:ghc: panic! (the 'impossible' happened): Bogus
selector Id
---------------------------------------+----------------------------------
        Reporter:  rzetterberg         |            Owner:
            Type:  bug                 |           Status:  new
        Priority:  normal              |        Milestone:
       Component:  Compiler            |          Version:  7.6.3
      Resolution:                      |         Keywords:
Operating System:  Linux               |     Architecture:  x86_64 (amd64)
 Type of failure:  Compile-time crash  |       Difficulty:  Unknown
       Test Case:                      |       Blocked By:
        Blocking:                      |  Related Tickets:
---------------------------------------+----------------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"59e17d6ef71c29f4e114e55be83f1b3722f04139/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="59e17d6ef71c29f4e114e55be83f1b3722f04139"
 Fail (rather than addErr) if you use a bogus field in a pattern

 This fixes Trac #8570
 }}}

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


More information about the ghc-tickets mailing list