diff options
author | Björn Gustavsson <[email protected]> | 2015-01-30 11:59:54 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-02-12 13:14:37 +0100 |
commit | a13841ec7ef3365b5d263afd1c4398952a6844a1 (patch) | |
tree | 0c01bf86226c3ce8df5e997120c08f6a0204b360 /lib/stdlib/src | |
parent | e1a1d0aa88a195f3730ff0a7f6ff18d1ee927790 (diff) | |
download | otp-a13841ec7ef3365b5d263afd1c4398952a6844a1.tar.gz otp-a13841ec7ef3365b5d263afd1c4398952a6844a1.tar.bz2 otp-a13841ec7ef3365b5d263afd1c4398952a6844a1.zip |
core_lib: Deprecate functions that are no longer used by the compiler
Diffstat (limited to 'lib/stdlib/src')
-rw-r--r-- | lib/stdlib/src/otp_internal.erl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/stdlib/src/otp_internal.erl b/lib/stdlib/src/otp_internal.erl index 0ace87ef5c..4a338798d0 100644 --- a/lib/stdlib/src/otp_internal.erl +++ b/lib/stdlib/src/otp_internal.erl @@ -578,6 +578,19 @@ obsolete_1(asn1rt, utf8_binary_to_list, 1) -> obsolete_1(asn1rt, utf8_list_to_binary, 1) -> {deprecated,{unicode,characters_to_binary,1}}; +%% Added in OTP 18. +obsolete_1(core_lib, get_anno, 1) -> + {deprecated,{cerl,get_ann,1}}; +obsolete_1(core_lib, set_anno, 2) -> + {deprecated,{cerl,set_ann,2}}; +obsolete_1(core_lib, is_literal, 1) -> + {deprecated,{cerl,is_literal,1}}; +obsolete_1(core_lib, is_literal_list, 1) -> + {deprecated,"deprecated; use lists:all(fun cerl:is_literal/1, L)" + " instead"}; +obsolete_1(core_lib, literal_value, 1) -> + {deprecated,{core_lib,concrete,1}}; + obsolete_1(_, _, _) -> no. |