[erlang-questions] The -deprecated() attribute

Robert Virding rvirding@REDACTED
Fri Oct 16 12:18:17 CEST 2015


What gives with the -deprecated() attribute? In the compiler documentation
it says:

"Notice that the compiler does not know about attribute -deprecated(), but
uses an assembled list of deprecated functions in Erlang/OTP."

However if you look in the erl_lint code it explicitly handles the
-deprecated() attribute and even uses it itself. So the compiler DOES know
about it. So what does it do and for what can I use it?

Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20151016/ed9f9796/attachment.htm>


More information about the erlang-questions mailing list