-lookupOrig mod_name occ = lookupOrig_help mod_name occ Nothing
-
-lookupImplicitOrig :: Name -> OccName -> TcRnIf m n Name
--- Same as lookupOrig, but install (Just parent) as the
--- parent Name. This is used when looking at the exports
--- of an interface:
--- Suppose module M exports type A.T, and constructor A.MkT
--- Then, we know that A.MkT is an implicit name of A.T,
--- even though we aren't at the binding site of A.T
--- And it's important, because we may simply re-export A.T
--- without ever sucking in the declaration itself.
-lookupImplicitOrig name occ
- = lookupOrig_help (nameModuleName name) occ (Just name)
-
-lookupOrig_help :: ModuleName -> OccName -> Maybe Name -> TcRnIf a b Name
--- Local helper, not exported
-lookupOrig_help mod_name occ mb_parent