From: Ian Lynagh Date: Sat, 16 Apr 2011 20:53:48 +0000 (+0100) Subject: Document -fwarn-missing-local-sigs; part of #4817 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=40df25409b34352f33f63881a3b9d9846ee03748 Document -fwarn-missing-local-sigs; part of #4817 --- diff --git a/docs/users_guide/flags.xml b/docs/users_guide/flags.xml index e0940ae..26ab9eb 100644 --- a/docs/users_guide/flags.xml +++ b/docs/users_guide/flags.xml @@ -1180,6 +1180,13 @@ + + warn about polymorphic local bindings without signatures + dynamic + + + + warn when names are shadowed dynamic diff --git a/docs/users_guide/using.xml b/docs/users_guide/using.xml index 8b08d9d..115c290 100644 --- a/docs/users_guide/using.xml +++ b/docs/users_guide/using.xml @@ -1373,6 +1373,20 @@ module M where + : + + + type signatures, missing + + If you use the + flag GHC will warn + you about any polymorphic local bindings. As part of + the warning GHC also reports the inferred type. The + option is off by default. + + + + :