Skip to content

Unify.unifyTauTyLists: mismatched type lists!

the following simple code

-------------------------
data List elem =  Cons elem List | Nil

t1 :: List
t1 = Cons 1 Nil
-------------------------

causes (loaded within ghci):


ghc-6.4: panic! (the `impossible' happened, GHC version
6.4):
	Unify.unifyTauTyLists: mismatched type lists!

Please report it as a compiler bug to
glasgow-haskell-bugs@haskell.org,
or http://sourceforge.net/projects/ghc/.
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