summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2021-05-18 12:32:16 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-05-19 23:43:09 -0400
commit82b097b3d43521f775edb560f97eb37862de7a43 (patch)
tree5bf95d53e683259fd0fd0fdf78115a6ec569ae5f
parent4b5de9542bc73b6b9fc14400e6cc77b0410f5f6f (diff)
downloadhaskell-82b097b3d43521f775edb560f97eb37862de7a43.tar.gz
Remove wired-in names hs-boot check bypass (#19855)
The check bypass is no longer necessary and the check would have avoided #19638.
-rw-r--r--compiler/GHC/Tc/Module.hs3
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/GHC/Tc/Module.hs b/compiler/GHC/Tc/Module.hs
index b04ab96e43..50b832ed49 100644
--- a/compiler/GHC/Tc/Module.hs
+++ b/compiler/GHC/Tc/Module.hs
@@ -865,9 +865,6 @@ checkHiBootIface'
check_export boot_avail -- boot_avail is exported by the boot iface
| name `elem` boot_dfun_names = return ()
- | isWiredInName name = return () -- No checking for wired-in names. In particular,
- -- 'error' is handled by a rather gross hack
- -- (see comments in GHC.Err.hs-boot)
-- Check that the actual module exports the same thing
| not (null missing_names)