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 /lib/compiler/src/erl_bifs.erl | |
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 'lib/compiler/src/erl_bifs.erl')
-rw-r--r-- | lib/compiler/src/erl_bifs.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/compiler/src/erl_bifs.erl b/lib/compiler/src/erl_bifs.erl index 3ee789e2ab..2eff9b4efb 100644 --- a/lib/compiler/src/erl_bifs.erl +++ b/lib/compiler/src/erl_bifs.erl @@ -114,6 +114,7 @@ is_pure(erlang, max, 2) -> true; is_pure(erlang, min, 2) -> true; is_pure(erlang, phash, 2) -> false; is_pure(erlang, pid_to_list, 1) -> true; +is_pure(erlang, port_to_list, 1) -> true; is_pure(erlang, round, 1) -> true; is_pure(erlang, setelement, 3) -> true; is_pure(erlang, size, 1) -> true; |