summaryrefslogtreecommitdiff
path: root/compiler/GHC/Tc/Types.hs
diff options
context:
space:
mode:
authorAndreas Klebinger <klebinger.andreas@gmx.at>2022-05-09 16:09:39 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-05-24 22:13:19 -0400
commit7c51177d3e135cbba4bc170126c74825fd7bdd61 (patch)
tree8d11c8bd0e91a1fe0c6f377157a1e6ba2662d410 /compiler/GHC/Tc/Types.hs
parentf485d26738c83ef564794b41188e0e082ee59b26 (diff)
downloadhaskell-7c51177d3e135cbba4bc170126c74825fd7bdd61.tar.gz
Use UnionListsOrd instead of UnionLists in most places.
This should get rid of most, if not all "Overlong lists" errors and fix #20016
Diffstat (limited to 'compiler/GHC/Tc/Types.hs')
-rw-r--r--compiler/GHC/Tc/Types.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/GHC/Tc/Types.hs b/compiler/GHC/Tc/Types.hs
index c56cbc1322..56c2b1b8a4 100644
--- a/compiler/GHC/Tc/Types.hs
+++ b/compiler/GHC/Tc/Types.hs
@@ -1412,9 +1412,9 @@ plusImportAvails
imp_trust_pkgs = tpkgs1 `S.union` tpkgs2,
imp_trust_own_pkg = tself1 || tself2,
imp_boot_mods = srs1 `plusModDeps` srcs2,
- imp_sig_mods = sig_mods1 `unionLists` sig_mods2,
- imp_orphs = orphs1 `unionLists` orphs2,
- imp_finsts = finsts1 `unionLists` finsts2 }
+ imp_sig_mods = unionListsOrd sig_mods1 sig_mods2,
+ imp_orphs = unionListsOrd orphs1 orphs2,
+ imp_finsts = unionListsOrd finsts1 finsts2 }
{-
************************************************************************