aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2017-01-26 10:28:00 +0100
committerBjörn-Egil Dahlberg <[email protected]>2017-01-26 10:28:00 +0100
commit9153f7a734ddd9ca47b339cb19b8d44ed79ade0f (patch)
tree85c772b0531ce7e25da33ead6da3a72913828754 /lib/stdlib/src
parent7ac0749866500a4de95a00492df31127df78c2be (diff)
parent52097fab56edbbd8c6f8a57ec3b3f33aa60c5bb9 (diff)
downloadotp-9153f7a734ddd9ca47b339cb19b8d44ed79ade0f.tar.gz
otp-9153f7a734ddd9ca47b339cb19b8d44ed79ade0f.tar.bz2
otp-9153f7a734ddd9ca47b339cb19b8d44ed79ade0f.zip
Merge branch 'egil/erts/remove-broken-hash/OTP-13827'
* egil/erts/remove-broken-hash/OTP-13827: Update test cases for erlang:hash/2 removal mnesia: Remove mnesia_frag_old_hash hash module stdlib: Produce correct warning for erlang:hash/2 erts: Remove erlang:hash/2 from documentation erts: Remove broken hash from Erlang
Diffstat (limited to 'lib/stdlib/src')
-rw-r--r--lib/stdlib/src/otp_internal.erl10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/stdlib/src/otp_internal.erl b/lib/stdlib/src/otp_internal.erl
index f4257fb571..5bf77a5160 100644
--- a/lib/stdlib/src/otp_internal.erl
+++ b/lib/stdlib/src/otp_internal.erl
@@ -47,9 +47,6 @@ obsolete(Module, Name, Arity) ->
obsolete_1(net, _, _) ->
{deprecated, "module 'net' obsolete; use 'net_adm'"};
-obsolete_1(erlang, hash, 2) ->
- {deprecated, {erlang, phash2, 2}};
-
obsolete_1(erlang, now, 0) ->
{deprecated,
"Deprecated BIF. See the \"Time and Time Correction in Erlang\" "
@@ -553,6 +550,13 @@ obsolete_1(overload, _, _) ->
obsolete_1(rpc, safe_multi_server_call, A) when A =:= 2; A =:= 3 ->
{removed, {rpc, multi_server_call, A}};
+%% Removed in OTP 20.
+
+obsolete_1(erlang, hash, 2) ->
+ {removed, {erlang, phash2, 2}, "20.0"};
+
+%% not obsolete
+
obsolete_1(_, _, _) ->
no.