Skip to content
Snippets Groups Projects
Commit 5e95eb49 authored by sven.panne@aedion.de's avatar sven.panne@aedion.de
Browse files

[project @ 2000-02-25 15:06:30 by panne]

*ahem*  Re-enable -fwarn-unused-binds and -fwarn-unused-imports...  :-}
parent f83a5a68
No related branches found
No related tags found
No related merge requests found
......@@ -549,9 +549,9 @@ reportUnusedNames gbl_env avail_env (ExportEnv export_avails _ _) mentioned_name
nest 4 (fsep (punctuate comma [ text (occNameFlavour (nameOccName n)) <+> ppr n
| n <- non_locally_used]))) `thenRn_`
getIfacesRn `thenRn` \ ifaces ->
if opt_WarnDeprecations
(if opt_WarnDeprecations
then mapRn_ warnDeprec (deprec_used (iDeprecs ifaces))
else returnRn () `thenRn_`
else returnRn ()) `thenRn_`
warnUnusedLocalBinds bad_locals `thenRn_`
warnUnusedImports bad_imps
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment