Skip to content

panic with bad data/class definition.

This malformed program causes a panic in ghc-6.4

class SClass a where
 sFun :: a -> SData
 
data SData
	= SCon SClass

email: Ben.Lippmeier@anu.edu.au
Trac metadata
Trac field Value
Version 6.4
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedFixed
Component Compiler (Type checker)
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