[GHC] #14175: Panic repSplitTyConApp_maybe

GHC ghc-devs at haskell.org
Thu Aug 31 21:31:10 UTC 2017


#14175: Panic repSplitTyConApp_maybe
-------------------------------------+-------------------------------------
        Reporter:  dfeuer            |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.2.2
       Component:  Compiler (Type    |              Version:  8.2.1
  checker)                           |
      Resolution:                    |             Keywords:  TypeInType
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash or panic                     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #13910            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by RyanGlScott):

 * related:   => #13910


Comment:

 On HEAD, this gives a slightly different panic:

 {{{
 $ ghc5/inplace/bin/ghc-stage2 --interactive Bug.hs
 GHCi, version 8.3.20170818: http://www.haskell.org/ghc/  :? for help
 Loaded GHCi configuration from /home/rgscott/.ghci
 [1 of 1] Compiling Whoops           ( Bug.hs, interpreted )
 ghc-stage2: panic! (the 'impossible' happened)
   (GHC version 8.3.20170818 for x86_64-unknown-linux):
         getRuntimeRep
   j_a1tG[sk:1] :: k_a1tJ[tau:1]
   Call stack:
       CallStack (from HasCallStack):
         callStackDoc, called at compiler/utils/Outputable.hs:1142:37 in
 ghc:Outputable
         pprPanic, called at compiler/types/Type.hs:1982:18 in ghc:Type
 }}}

 This is a characteristic that it shares with the program in #13910.

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


More information about the ghc-tickets mailing list