import HsSyn ( Sig(..), PolyType )
import RnHsSyn ( RenamedSig(..), RnName(..) )
-import CmdLineOpts ( opt_CompilingPrelude )
+import CmdLineOpts ( opt_CompilingGhcInternals )
import Id ( mkImported )
--import Name ( Name(..) )
import Maybes ( maybeToBool )
| otherwise -- odd name...
= case name of
- WiredInId _ | opt_CompilingPrelude
+ WiredInId _ | opt_CompilingGhcInternals
-> tcInterfaceSigs sigs
_ -> tcAddSrcLoc src_loc $
failTc (ifaceSigNameErr name)