GHC panic related to associated types
The attached program mysteriously fails with:
>>> ghc --make Bug
[1 of 1] Compiling Bug ( Bug.hs, Bug.o )
ghc: panic! (the 'impossible' happened)
(GHC version 6.10.1 for i386-unknown-linux):
typePrimRep
<pred>main:Bug.FDom{tc rfJ} f1{tv afZ} [tv]
~
main:Bug.FDom{tc rfJ} f2{tv ag0} [tv]
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug