summaryrefslogtreecommitdiff
path: root/compiler/GHC/Iface/Load.hs
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2021-09-24 15:54:29 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-09-29 09:44:40 -0400
commit7c90a1804d25c77e829546f5d744f92f3c840a77 (patch)
tree1ae086be792b95322dee65497538297b2617c84d /compiler/GHC/Iface/Load.hs
parent1f2ba67a07c1f94c0232952eb3af184a0962e881 (diff)
downloadhaskell-7c90a1804d25c77e829546f5d744f92f3c840a77.tar.gz
compiler: Rename nameEnvElts -> nonDetNameEnvElts
Diffstat (limited to 'compiler/GHC/Iface/Load.hs')
-rw-r--r--compiler/GHC/Iface/Load.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Iface/Load.hs b/compiler/GHC/Iface/Load.hs
index c271613b3d..eb92b881e3 100644
--- a/compiler/GHC/Iface/Load.hs
+++ b/compiler/GHC/Iface/Load.hs
@@ -196,7 +196,7 @@ importDecl name
text "Use -ddump-if-trace to get an idea of which file caused the error"])
found_things_msg eps =
hang (text "Found the following declarations in" <+> ppr (nameModule name) <> colon)
- 2 (vcat (map ppr $ filter is_interesting $ nameEnvElts $ eps_PTE eps))
+ 2 (vcat (map ppr $ filter is_interesting $ nonDetNameEnvElts $ eps_PTE eps))
where
is_interesting thing = nameModule name == nameModule (getName thing)