diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2021-08-23 13:30:44 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-12-03 10:12:04 -0500 |
commit | 81082cf410fdcdbf10627f5334cc1dba1a9a2e06 (patch) | |
tree | 49bb8038aab46f97ea2414ffc60652800614d4c2 /compiler/GHC/Rename | |
parent | 0e274c39bf836d5bb846f5fa08649c75f85326ac (diff) | |
download | haskell-81082cf410fdcdbf10627f5334cc1dba1a9a2e06.tar.gz |
Revert "Data.List specialization to []"
This reverts commit bddecda1a4c96da21e3f5211743ce5e4c78793a2.
This implements the first step in the plan formulated in #20025 to
improve the communication and migration strategy for the proposed
changes to Data.List.
Requires changing the haddock submodule to update the test output.
Diffstat (limited to 'compiler/GHC/Rename')
-rw-r--r-- | compiler/GHC/Rename/Names.hs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/compiler/GHC/Rename/Names.hs b/compiler/GHC/Rename/Names.hs index 768e43fca1..806a9e4dbf 100644 --- a/compiler/GHC/Rename/Names.hs +++ b/compiler/GHC/Rename/Names.hs @@ -594,8 +594,6 @@ calculateAvails home_unit iface mod_safe' want_boot imported_by = -- | Issue a warning if the user imports Data.List without either an import -- list or `qualified`. This is part of the migration plan for the -- `Data.List.singleton` proposal. See #17244. --- --- Currently not used for anything. warnUnqualifiedImport :: ImportDecl GhcPs -> ModIface -> RnM () warnUnqualifiedImport decl iface = when bad_import $ do @@ -627,8 +625,7 @@ warnUnqualifiedImport decl iface = ] -- Modules for which we warn if we see unqualified imports - -- Currently empty. - qualifiedMods = mkModuleSet [] + qualifiedMods = mkModuleSet [ dATA_LIST ] warnRedundantSourceImport :: ModuleName -> TcRnMessage |