Look through type synonyms when computing orphans
authorsimonpj@microsoft.com <unknown>
Wed, 26 Jan 2011 17:12:29 +0000 (17:12 +0000)
committersimonpj@microsoft.com <unknown>
Wed, 26 Jan 2011 17:12:29 +0000 (17:12 +0000)
commite28816f0b0451c29acb6e7651783a6373dbb241b
tree35fc9db80978d6ca2ac6e3a990066f33a3478d9a
parent4dc71b4bbff15526bb6a10e2e45cf2723168b543
Look through type synonyms when computing orphans

I renamed functions tyClsNamesOfTypes to oprhNamesOfType,
because it's only used in that capacity, and we therefore
want to look through type synonyms.  Similarly exprOrphNames.

This fixes Trac #4912.
compiler/coreSyn/CoreFVs.lhs
compiler/iface/MkIface.lhs
compiler/main/InteractiveEval.hs
compiler/typecheck/TcRnDriver.lhs
compiler/typecheck/TcType.lhs