Skip to content

panic compiling classes

$ ghc Bug.hs
ghc-6.4: panic! (the `impossible' happened, GHC version
6.4):
        ds_app_type Bug.Class1{tc r155} []

$ cat Bug.hs
module Bug where

class Class1 a where

class Class2 a where
  class1 :: a -> Class1

Trac metadata
Trac field Value
Version 6.4
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedFixed
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information