[GHC] #12957: In a record-update construct:ghc-stage2: panic! (the 'impossible' happened)

GHC ghc-devs at haskell.org
Sat Dec 10 09:44:43 UTC 2016


#12957: In a record-update construct:ghc-stage2: panic! (the 'impossible' happened)
-------------------------------------+-------------------------------------
        Reporter:  niteria           |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by mpickering):

 It is unfortunate the compiler doesn't throw a type error earlier. The
 warning comes from the desugaring of the record update so it would still
 be difficult for users to act upon.

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


More information about the ghc-tickets mailing list