summaryrefslogtreecommitdiff
path: root/compiler/GHC/Types/TypeEnv.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Types/TypeEnv.hs')
-rw-r--r--compiler/GHC/Types/TypeEnv.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Types/TypeEnv.hs b/compiler/GHC/Types/TypeEnv.hs
index 1b8fcd0b35..a431c3ddfc 100644
--- a/compiler/GHC/Types/TypeEnv.hs
+++ b/compiler/GHC/Types/TypeEnv.hs
@@ -49,7 +49,7 @@ typeEnvClasses :: TypeEnv -> [Class]
lookupTypeEnv :: TypeEnv -> Name -> Maybe TyThing
emptyTypeEnv = emptyNameEnv
-typeEnvElts env = nameEnvElts env
+typeEnvElts env = nonDetNameEnvElts env
typeEnvTyCons env = [tc | ATyCon tc <- typeEnvElts env]
typeEnvCoAxioms env = [ax | ACoAxiom ax <- typeEnvElts env]
typeEnvIds env = [id | AnId id <- typeEnvElts env]