diff options
author | Björn Gustavsson <[email protected]> | 2012-08-13 10:09:48 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2012-08-15 10:54:52 +0200 |
commit | 6cdc6b667a8db2b63a4613c63dc4f75a34a5ea7f (patch) | |
tree | 506c68241e387fe5b569f5a1fcad85e416fee317 /lib/erl_docgen | |
parent | ee5fdd50040894b27fd3fe9e767eab3821666e9a (diff) | |
download | otp-6cdc6b667a8db2b63a4613c63dc4f75a34a5ea7f.tar.gz otp-6cdc6b667a8db2b63a4613c63dc4f75a34a5ea7f.tar.bz2 otp-6cdc6b667a8db2b63a4613c63dc4f75a34a5ea7f.zip |
erl_lint: Add a deprecated warning for literal tuple funs
The run-time warning for use of tuple funs will not catch the use
of literal tuple funs, such as:
if
{erlang,'+'}(3,X) =:= 0 -> true;
true -> false
end.
Therefore, add a compile-time warning to give users some warning
before they stop working in R16.
Diffstat (limited to 'lib/erl_docgen')
0 files changed, 0 insertions, 0 deletions