Implement -fwarn-dodgy-imports
authorIan Lynagh <igloo@earth.li>
Mon, 16 Jul 2007 22:06:35 +0000 (22:06 +0000)
committerIan Lynagh <igloo@earth.li>
Mon, 16 Jul 2007 22:06:35 +0000 (22:06 +0000)
commit12b7e9f1fa41e42350408f2bf0d6885f3fcba068
treea025a395e5d0f68306c4e52566de2c699e352d89
parent8215287c8c8d19dff36cd20ef71d56341a769d50
Implement -fwarn-dodgy-imports
You used to only be able to enable Opt_WarnDodgyImports with -W or -Wall.
This patch adds the flag to en/disable it by name.
(DodgyImports == importing T(..) when only T is exported).
compiler/main/DynFlags.hs