Fix a knot-tying bug with ghc --make
authorsimonpj@microsoft.com <unknown>
Wed, 1 Aug 2007 12:49:07 +0000 (12:49 +0000)
committersimonpj@microsoft.com <unknown>
Wed, 1 Aug 2007 12:49:07 +0000 (12:49 +0000)
commite5896a10830f34458e1e00a1050d113a58c5607d
treec08cd001f474b6f51c9cc670ff11d6072efab3d7
parentcd9566da5aab4e4ee25123c5a525405d29881321
Fix a knot-tying bug with ghc --make

This bug showed up when I touched Data.Generics.Schemes, and then said
make build.library.base
This compiles the base library with --make, and I got an assertion failure
in TcIface.  The explanation is in Note [Tying the knot] in TcIface.

As well as fixing the bug, I also impoved the assertion message.

This might fix or improve other knot-tying problems with --make
compiler/iface/TcIface.lhs