Ticket #2432 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

type family panic: Coercion.splitCoercionKindOf

Reported by: claus Owned by: chak
Priority: normal Milestone: 6.10.1
Component: Compiler (Type checker) Version: 6.9
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

as seen in #2146#comment:5, confirmed with GHCi, version 6.9.20080709

{-# LANGUAGE TypeFamilies #-}
type family F a :: * -> *

foo3 :: (F Int ~ fi, F Bool ~ fb, fi a ~ fb a) => a
foo3 = undefined
ghc.exe: panic! (the 'impossible' happened)
  (GHC version 6.9.20080709 for i386-unknown-mingw32):
        Coercion.splitCoercionKindOf
    ghc-prim:GHC.Prim.left{(w) tc 34B} $co${tc a7j} [tv]
    <pred>fi{tv a6W} [sk] ~ fb{tv a6X} [sk]

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

Change History

Changed 5 years ago by igloo

  • difficulty set to Unknown
  • milestone set to 6.10.1

Thanks for the report

Changed 5 years ago by chak

  • owner set to chak

Probably a duplicate of #2432, but I'll leave it open and verify once #2432 has been fixed.

Changed 5 years ago by chak

Oops - #2432 is this ticket, I mean to write this is a duplicate of #1999.

Changed 5 years ago by chak

  • status changed from new to closed
  • resolution set to fixed

Works with the new solver.

Changed 5 years ago by simonmar

  • architecture changed from Unknown to Unknown/Multiple

Changed 5 years ago by simonmar

  • os changed from Unknown to Unknown/Multiple
Note: See TracTickets for help on using tickets.