[GHC] #13432: ghc: panic! (the 'impossible' happened)

GHC ghc-devs at haskell.org
Thu Mar 16 18:15:38 UTC 2017


#13432: ghc: panic! (the 'impossible' happened)
-------------------------------------+-------------------------------------
        Reporter:  brikken           |                Owner:  (none)
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.2
      Resolution:  duplicate         |             Keywords:
Operating System:  Windows           |         Architecture:  x86_64
 Type of failure:  Compile-time      |  (amd64)
  crash or panic                     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #13416            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by RyanGlScott):

 * status:  new => closed
 * resolution:   => duplicate
 * related:   => #13416


Comment:

 Replying to [comment:1 simonpj]:
 > Perhaps a dup of #13416?

 Yep. You'll get a better error message in GHC 8.2:

 {{{
 [1 of 3] Compiling SimpleJSON       ( SimpleJSON.hs, interpreted )
 [2 of 3] Compiling PrettyStub       ( PrettyStub.hs, interpreted )
 [3 of 3] Compiling Main             ( PrettyJSON.hs, interpreted )

 PrettyJSON.hs:23:36: error:
     Variable not in scope: hexEscape :: Char -> Doc
    |
 23 |         Nothing | mustEscape c  -> hexEscape c
    |
 }}}

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


More information about the ghc-tickets mailing list