diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/mkUserGuidePart/Options/CompilerDebugging.hs | 2 | ||||
-rw-r--r-- | utils/mkUserGuidePart/Options/Warnings.hs | 15 |
2 files changed, 16 insertions, 1 deletions
diff --git a/utils/mkUserGuidePart/Options/CompilerDebugging.hs b/utils/mkUserGuidePart/Options/CompilerDebugging.hs index 3f1d89999d..ce84a2a48b 100644 --- a/utils/mkUserGuidePart/Options/CompilerDebugging.hs +++ b/utils/mkUserGuidePart/Options/CompilerDebugging.hs @@ -120,7 +120,7 @@ compilerDebuggingOptions = , flagDescription = "Dump strictness analyser output" , flagType = DynamicFlag } - , flag { flagName = "-ddump-strsigs" + , flag { flagName = "-ddump-str-signatures" , flagDescription = "Dump strictness signatures" , flagType = DynamicFlag } diff --git a/utils/mkUserGuidePart/Options/Warnings.hs b/utils/mkUserGuidePart/Options/Warnings.hs index 37597f8e0f..a72395e194 100644 --- a/utils/mkUserGuidePart/Options/Warnings.hs +++ b/utils/mkUserGuidePart/Options/Warnings.hs @@ -141,17 +141,32 @@ warningsOptions = } , flag { flagName = "-Wmissing-exported-sigs" , flagDescription = + "*(deprecated)* "++ "warn about top-level functions without signatures, only if they "++ "are exported. takes precedence over -Wmissing-signatures" , flagType = DynamicFlag , flagReverse = "-Wno-missing-exported-sigs" } + , flag { flagName = "-Wmissing-exported-signatures" + , flagDescription = + "warn about top-level functions without signatures, only if they "++ + "are exported. takes precedence over -Wmissing-signatures" + , flagType = DynamicFlag + , flagReverse = "-Wno-missing-exported-signatures" + } , flag { flagName = "-Wmissing-local-sigs" , flagDescription = + "*(deprecated)* "++ "warn about polymorphic local bindings without signatures" , flagType = DynamicFlag , flagReverse = "-Wno-missing-local-sigs" } + , flag { flagName = "-Wmissing-local-signatures" + , flagDescription = + "warn about polymorphic local bindings without signatures" + , flagType = DynamicFlag + , flagReverse = "-Wno-missing-local-signatures" + } , flag { flagName = "-Wmissing-monadfail-instances" , flagDescription = "warn when a failable pattern is used in a do-block that does " ++ |