aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2018-10-18 15:41:21 +0200
committerJohn Högberg <[email protected]>2018-10-18 15:48:12 +0200
commit2db400da1d16ece5bba264a940e014857c6fdd3f (patch)
tree206228c89f171a6b992c5787ea4c9095d86efb8e /lib/compiler
parentc89305463ac916767cceae9c01f6b627ab03c323 (diff)
downloadotp-2db400da1d16ece5bba264a940e014857c6fdd3f.tar.gz
otp-2db400da1d16ece5bba264a940e014857c6fdd3f.tar.bz2
otp-2db400da1d16ece5bba264a940e014857c6fdd3f.zip
compiler: list_to_integer/2 is pure
Diffstat (limited to 'lib/compiler')
-rw-r--r--lib/compiler/src/erl_bifs.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/compiler/src/erl_bifs.erl b/lib/compiler/src/erl_bifs.erl
index 71ab0e872a..ce9762899e 100644
--- a/lib/compiler/src/erl_bifs.erl
+++ b/lib/compiler/src/erl_bifs.erl
@@ -108,6 +108,7 @@ is_pure(erlang, list_to_atom, 1) -> true;
is_pure(erlang, list_to_binary, 1) -> true;
is_pure(erlang, list_to_float, 1) -> true;
is_pure(erlang, list_to_integer, 1) -> true;
+is_pure(erlang, list_to_integer, 2) -> true;
is_pure(erlang, list_to_pid, 1) -> true;
is_pure(erlang, list_to_tuple, 1) -> true;
is_pure(erlang, max, 2) -> true;