diff options
author | Manav Rathi <mx4492@gmail.com> | 2016-02-25 14:51:32 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-02-25 15:41:55 +0100 |
commit | 665849142bca36c14bcb25d64180c153a1ef1f2c (patch) | |
tree | 64d4787d0e2af14ed57d637aaced6cc54a167571 /compiler/stranal | |
parent | 673efccb3b348e9daf23d9e65460691bbea8586e (diff) | |
download | haskell-665849142bca36c14bcb25d64180c153a1ef1f2c.tar.gz |
Make warning names more consistent
- Replace "Sigs" with "Signatures" in WarningFlag data constructors.
- Replace "PatSyn" with "PatternSynonym" in WarningFlag data
constructors.
- Deprecate "missing-local-sigs" in favor of "missing-local-signatures".
- Deprecate "missing-exported-sigs" in favor of
"missing-exported-signatures".
- Deprecate "missing-pat-syn-signatures" in favor of
"missing-pattern-synonym-signatures".
- Replace "ddump-strsigs" with "ddump-str-signatures"
These complete the tasks that were explicitly mentioned in #11583
Test Plan:
Executed `ghc --show-options` and verified that the flags were changed
as expected.
Reviewers: svenpanne, austin, bgamari
Reviewed By: austin, bgamari
Subscribers: mpickering, thomie
Differential Revision: https://phabricator.haskell.org/D1939
GHC Trac Issues: #11583
Diffstat (limited to 'compiler/stranal')
-rw-r--r-- | compiler/stranal/DmdAnal.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/stranal/DmdAnal.hs b/compiler/stranal/DmdAnal.hs index f7dbdde8a2..6ef911f6c0 100644 --- a/compiler/stranal/DmdAnal.hs +++ b/compiler/stranal/DmdAnal.hs @@ -48,7 +48,8 @@ dmdAnalProgram :: DynFlags -> FamInstEnvs -> CoreProgram -> IO CoreProgram dmdAnalProgram dflags fam_envs binds = do { let { binds_plus_dmds = do_prog binds } ; - dumpIfSet_dyn dflags Opt_D_dump_strsigs "Strictness signatures" $ + dumpIfSet_dyn dflags Opt_D_dump_str_signatures + "Strictness signatures" $ dumpStrSig binds_plus_dmds ; return binds_plus_dmds } |