Commit b6fbea97 authored by panne's avatar panne
Browse files

[project @ 2004-06-20 17:58:46 by panne]

Renamed Opt_WarnMisc to Opt_WarnDodgyImports
parent 5218cb82
......@@ -266,7 +266,7 @@ data DynFlag
| Opt_WarnUnusedImports
| Opt_WarnUnusedMatches
| Opt_WarnDeprecations
| Opt_WarnMisc
| Opt_WarnDodgyImports
-- language opts
| Opt_AllowOverlappingInstances
......@@ -675,7 +675,7 @@ minusWOpts
Opt_WarnUnusedMatches,
Opt_WarnUnusedImports,
Opt_WarnIncompletePatterns,
Opt_WarnMisc
Opt_WarnDodgyImports
]
minusWallOpts
......
......@@ -474,7 +474,7 @@ filterImports iface imp_spec (Just (want_hiding, import_items)) total_avails
Just avail@(AvailTC _ [n]) -> -- This occurs when you import T(..), but
-- only export T abstractly. The single [n]
-- in the AvailTC is the type or class itself
ifOptM Opt_WarnMisc (addWarn (dodgyImportWarn tc)) `thenM_`
ifOptM Opt_WarnDodgyImports (addWarn (dodgyImportWarn tc)) `thenM_`
succeed_with False avail
Just avail -> succeed_with False avail
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment