[GHC] #14158: (Control.Category.id @(->) >>=) causes GHC panic

GHC ghc-devs at haskell.org
Sat Aug 26 16:47:07 UTC 2017


#14158: (Control.Category.id @(->) >>=) causes GHC panic
-------------------------------------+-------------------------------------
           Reporter:  Iceland_jack   |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.2.1
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 {{{
 $ ghci -ignore-dot-ghci -XTypeApplications
 GHCi, version 8.3.20170605: http://www.haskell.org/ghc/  :? for help
 Prelude> import qualified Control.Category as Cat
 Prelude Cat> :t (Cat.id @(->) >>=)
 ghc: panic! (the 'impossible' happened)
   (GHC version 8.3.20170605 for x86_64-unknown-linux):
         repSplitAppTy_maybe
   a0_a1qW[tau:2]
   a0_a1qW[tau:2]
   Call stack:
       CallStack (from HasCallStack):
         prettyCurrentCallStack, called at
 compiler/utils/Outputable.hs:1133:58 in ghc:Outputable
         callStackDoc, called at compiler/utils/Outputable.hs:1137:37 in
 ghc:Outputable
         pprPanic, called at compiler/types/Type.hs:699:5 in ghc:Type

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

 Prelude Cat>
 }}}

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


More information about the ghc-tickets mailing list