diff --git a/ghc/compiler/basicTypes/Name.lhs b/ghc/compiler/basicTypes/Name.lhs index 60a572708d6d5c8287cd600e3dba9adc9532f100..23c3a01781f550a2192a50e652bc3e5174074f97 100644 --- a/ghc/compiler/basicTypes/Name.lhs +++ b/ghc/compiler/basicTypes/Name.lhs @@ -455,9 +455,7 @@ maybeUserImportedFrom other = Nothing isDllName :: Name -> Bool -- Does this name refer to something in a different DLL? isDllName nm = not opt_Static && - not (isLocallyDefinedName nm) && not (isLocalModule (nameModule nm)) --- Why is the isLocallyDefinedName test needed? nameSrcLoc name = provSrcLoc (n_prov name)