Skip to content
Snippets Groups Projects
Commit cbfde9c5 authored by Reuben Thomas's avatar Reuben Thomas
Browse files

[project @ 2000-08-10 10:20:03 by rrt]

Reinstated isLocallyDefinedName test in isDllName, because nameModule can't
cope with local names.
parent 067a3de5
No related branches found
No related tags found
No related merge requests found
......@@ -455,6 +455,8 @@ maybeUserImportedFrom other = Nothing
isDllName :: Name -> Bool
-- Does this name refer to something in a different DLL?
isDllName nm = not opt_Static &&
not (isLocallyDefinedName nm) &&
-- isLocallyDefinedName test is needed because nameModule won't work on local names
not (isLocalModule (nameModule nm))
nameSrcLoc name = provSrcLoc (n_prov name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment