diff options
author | Richard Carlsson <[email protected]> | 2017-02-04 15:31:14 +0100 |
---|---|---|
committer | Richard Carlsson <[email protected]> | 2017-02-08 13:07:42 +0100 |
commit | 1d886081027c4d4fcfbf7f73d4708694cad582f5 (patch) | |
tree | 804393c43aa36c5afcfd26ee949a6e54cfe04e26 /lib/stdlib/src/otp_internal.erl | |
parent | e381a8a0334b9a1556b9a7e97205734261e39ffa (diff) | |
download | otp-1d886081027c4d4fcfbf7f73d4708694cad582f5.tar.gz otp-1d886081027c4d4fcfbf7f73d4708694cad582f5.tar.bz2 otp-1d886081027c4d4fcfbf7f73d4708694cad582f5.zip |
Deprecate filename:find_src/1/2
Diffstat (limited to 'lib/stdlib/src/otp_internal.erl')
-rw-r--r-- | lib/stdlib/src/otp_internal.erl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/stdlib/src/otp_internal.erl b/lib/stdlib/src/otp_internal.erl index 5bf77a5160..2a0e3118d0 100644 --- a/lib/stdlib/src/otp_internal.erl +++ b/lib/stdlib/src/otp_internal.erl @@ -550,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}}; +%% Added in OTP 20. + +obsolete_1(filename, find_src, 1) -> + {deprecated, "deprecated; use filelib:find_source/1 instead"}; +obsolete_1(filename, find_src, 2) -> + {deprecated, "deprecated; use filelib:find_source/3 instead"}; + %% Removed in OTP 20. obsolete_1(erlang, hash, 2) -> |