From 8182fbfda1fd7ff350482d88d3def7e49bba1d47 Mon Sep 17 00:00:00 2001 From: rrt Date: Thu, 3 Aug 2000 13:29:46 +0000 Subject: [PATCH] [project @ 2000-08-03 13:29:46 by rrt] Removed isLocallyDefinedName test in isDllName, as SPJ's with SM's suggestion that it's redundant. --- ghc/compiler/basicTypes/Name.lhs | 2 -- 1 file changed, 2 deletions(-) diff --git a/ghc/compiler/basicTypes/Name.lhs b/ghc/compiler/basicTypes/Name.lhs index 60a5727..23c3a01 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) -- 1.7.10.4