Finish fixing #5529: Require that constructors are imported from all types
authorIan Lynagh <igloo@earth.li>
Thu, 20 Oct 2011 23:47:15 +0000 (00:47 +0100)
committerIan Lynagh <igloo@earth.li>
Thu, 20 Oct 2011 23:47:15 +0000 (00:47 +0100)
commitfb83cd0239e6d50b0ef0ad5cd9b641f0b4df032c
tree93032a65c32fde3cac73ac583ae558748ee81d90
parent1269e055e2f7b94e0d7cbf21689e5609212b345e
Finish fixing #5529: Require that constructors are imported from all types

We used to have a hack for Foreign.C.Types and System.Posix.Types,
but I've removed that now. We also mark any constructors that we look
through as "used", so that we don't get warnings about unused imports.
compiler/typecheck/TcForeign.lhs
compiler/utils/Outputable.lhs