diff options
author | Lukas Larsson <[email protected]> | 2017-04-21 14:53:52 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2017-04-25 14:16:38 +0200 |
commit | ab048d66c59fa827bf4129fc95bec21488a931a4 (patch) | |
tree | 743a89fa7cc06ff070cb60f98241a2c5d0053c35 /erts | |
parent | eece23d7f6b225a6abc3807f9af44d1f742f7eee (diff) | |
download | otp-ab048d66c59fa827bf4129fc95bec21488a931a4.tar.gz otp-ab048d66c59fa827bf4129fc95bec21488a931a4.tar.bz2 otp-ab048d66c59fa827bf4129fc95bec21488a931a4.zip |
erts: Auto-import port_to_list for consistency
Follow the same pattern as pid_to_list
Diffstat (limited to 'erts')
-rw-r--r-- | erts/preloaded/src/erlang.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/preloaded/src/erlang.erl b/erts/preloaded/src/erlang.erl index 12b8afb53e..31ea683ff1 100644 --- a/erts/preloaded/src/erlang.erl +++ b/erts/preloaded/src/erlang.erl @@ -1337,7 +1337,7 @@ pid_to_list(_Pid) -> erlang:nif_error(undefined). %% port_to_list/1 --spec erlang:port_to_list(Port) -> string() when +-spec port_to_list(Port) -> string() when Port :: port(). port_to_list(_Port) -> erlang:nif_error(undefined). @@ -1547,7 +1547,7 @@ read_timer(_TimerRef, _Options) -> erlang:nif_error(undefined). %% ref_to_list/1 --spec erlang:ref_to_list(Ref) -> string() when +-spec ref_to_list(Ref) -> string() when Ref :: reference(). ref_to_list(_Ref) -> erlang:nif_error(undefined). |