aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2018-10-19 09:18:09 +0200
committerJohn Högberg <[email protected]>2018-10-19 09:18:09 +0200
commit9694fbebb9f783eeddd472daca745551b16eca48 (patch)
treeee90923648c8a391c52c7fdc36f77a53561bc591 /lib
parent71dad92bbde371681faa407d98c63b6c58d303f6 (diff)
parent2db400da1d16ece5bba264a940e014857c6fdd3f (diff)
downloadotp-9694fbebb9f783eeddd472daca745551b16eca48.tar.gz
otp-9694fbebb9f783eeddd472daca745551b16eca48.tar.bz2
otp-9694fbebb9f783eeddd472daca745551b16eca48.zip
Merge branch 'john/compiler/list_to_integer_2-is-pure'
* john/compiler/list_to_integer_2-is-pure: compiler: list_to_integer/2 is pure
Diffstat (limited to 'lib')
-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;