diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/users_guide/using-warnings.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/users_guide/using-warnings.rst b/docs/users_guide/using-warnings.rst index aeabbe9713..f603a4cf28 100644 --- a/docs/users_guide/using-warnings.rst +++ b/docs/users_guide/using-warnings.rst @@ -39,6 +39,7 @@ generally likely to indicate bugs in your program. These are: * :ghc-flag:`-Winaccessible-code` * :ghc-flag:`-Wstar-is-type` * :ghc-flag:`-Wstar-binder` + * :ghc-flag:`-Wspace-after-bang` The following flags are simple ways to select standard "packages" of warnings: @@ -1256,6 +1257,12 @@ of ``-W(no-)*``. per-module basis with :ghc-flag:`-Wno-simplifiable-class-constraints <-Wsimplifiable-class-constraints>`. +.. ghc-flag:: -Wspace-after-bang + :shortdesc: warn for missing space before the second argument + of an infix definition of ``(!)`` when + :ghc-flag:`-XBangPatterns` are not enabled + :type: dynamic + :reverse: -Wno-missing-space-after-bang .. ghc-flag:: -Wtabs :shortdesc: warn if there are tabs in the source file :type: dynamic |