aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-05-11 10:18:01 +0200
committerGitHub <[email protected]>2017-05-11 10:18:01 +0200
commit57faf8743b693f02eda2ba0a379e234f554d5e96 (patch)
treead65c82871555bfac3ba1f5e92670d54c5b328a9 /lib
parentc23d7ad97889589dd5ac890626af65840ea60c99 (diff)
parentd55c8e08714a8badd4a0af2bd14965b4672958fc (diff)
downloadotp-57faf8743b693f02eda2ba0a379e234f554d5e96.tar.gz
otp-57faf8743b693f02eda2ba0a379e234f554d5e96.tar.bz2
otp-57faf8743b693f02eda2ba0a379e234f554d5e96.zip
Merge pull request #1451 from bjorng/bjorn/compiler/nowarn_obsolete_guard
Correct description of nowarn_obsolete_guard By default, warnings for obsolete guards are turned on. Correct the description to make that clear.
Diffstat (limited to 'lib')
-rw-r--r--lib/compiler/doc/src/compile.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compiler/doc/src/compile.xml b/lib/compiler/doc/src/compile.xml
index a82befd057..fed68037c1 100644
--- a/lib/compiler/doc/src/compile.xml
+++ b/lib/compiler/doc/src/compile.xml
@@ -600,9 +600,9 @@ module.beam: module.erl \
to be deprecated.</p>
</item>
- <tag><c>warn_obsolete_guard</c></tag>
+ <tag><c>nowarn_obsolete_guard</c></tag>
<item>
- <p>Emits warnings for calls to old type testing BIFs,
+ <p>Turns off warnings for calls to old type testing BIFs,
such as <c>pid/1</c> and <c>list/1</c>. See the
<seealso marker="doc/reference_manual:expressions#guards">Erlang Reference Manual</seealso>
for a complete list of type testing BIFs and their old