From 40df25409b34352f33f63881a3b9d9846ee03748 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sat, 16 Apr 2011 21:53:48 +0100 Subject: [PATCH] Document -fwarn-missing-local-sigs; part of #4817 --- docs/users_guide/flags.xml | 7 +++++++ docs/users_guide/using.xml | 14 ++++++++++++++ 2 files changed, 21 insertions(+) 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. + + + + : -- 1.7.10.4