Fix #3067: GHCi panics with 'initTc:LIE' while :stepping on code with funny types
authorpepe iborra <mnislaih@gmail.com>
Tue, 3 Mar 2009 19:37:06 +0000 (19:37 +0000)
committerpepe iborra <mnislaih@gmail.com>
Tue, 3 Mar 2009 19:37:06 +0000 (19:37 +0000)
commit43213e90f8f17b0fd55f030aac64453249a3af16
treeb38add5e5aed98678b4d4aaf04031471f2f55044
parent371d661d6fcdae01b6b4f04b916a842e9fe7fc76
Fix #3067: GHCi panics with 'initTc:LIE' while :stepping on code with funny types

The problem is that calls to boxyUnify would panic if the types involved
contained type functions.
It looks like one should wrap these calls with getLIE, although I don't
really know what I am doing here
compiler/ghci/RtClosureInspect.hs