id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
2735	ghc panic with Haskell 98 program (applyTypeToArgs?)	int-e	simonpj	"This code,

{{{
module Bug where

data S = S { s1 :: (), s2 :: () }

f s = s { s1 = (), s2 = s1 s }
}}}

crashes ghc:

{{{
ghc: panic! (the 'impossible' happened)
  (GHC version 6.11.20081031 for i386-unknown-linux):
        applyTypeToArgs
    ghc-prim:GHC.Unit.(){(w) v 71} [gid] wild{v sfY} [lid]
    ghc-prim:GHC.Unit.(){(w) tc 40}

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
}}}

(Example trimmed down from a compile error in language-c. ghc 6.10 is not affected.)"	bug	closed	normal		Compiler	6.11	fixed			Unknown/Multiple	Unknown/Multiple		Unknown				
