Fix pretty-printing of IfaceAnyTc (fixes Trac #3883)
authorsimonpj@microsoft.com <unknown>
Mon, 1 Mar 2010 11:10:40 +0000 (11:10 +0000)
committersimonpj@microsoft.com <unknown>
Mon, 1 Mar 2010 11:10:40 +0000 (11:10 +0000)
commit06f696924193fd7a028f40db565c70b9421594b0
tree967c6d946d644e20d8d4ffb68dfc93cc1c1bd734
parent7a7fe41638ef01160b8d8db981f9187528416760
Fix pretty-printing of IfaceAnyTc (fixes Trac #3883)

The panic message in ifaceTyConName on IfaceAnyTc
called the pretty-printer, called ifaceTyConName again,
which caused an infinite regress.  Stupid.

See
 * Note [The Name of an IfaceAnyTc], and
 * The Outputable instance for IfaceTyCon
compiler/iface/IfaceType.lhs