Add a warning flag for when the Prelude is implicitly imported (trac #1317)
authorIsaac Dupree <id@isaac.cedarswampstudios.org>
Fri, 11 May 2007 08:45:25 +0000 (08:45 +0000)
committerIsaac Dupree <id@isaac.cedarswampstudios.org>
Fri, 11 May 2007 08:45:25 +0000 (08:45 +0000)
commit536852b1348fde6ec0ba13859cc5ddf8480a1653
tree3d442de92d95ac7c989616c8927fd4dfb705606c
parent53167b89a0ad08049ed429e09d6863b6b322ec44
Add a warning flag for when the Prelude is implicitly imported (trac #1317)
GHC already determines all the implicit (Prelude) imports,
so we just need to check whether there are any of those,
for each module being compiled.
compiler/main/DynFlags.hs
compiler/rename/RnNames.lhs
docs/users_guide/flags.xml
docs/users_guide/using.xml