aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2017-04-21 14:50:43 +0200
committerLukas Larsson <[email protected]>2017-04-21 14:50:43 +0200
commiteece23d7f6b225a6abc3807f9af44d1f742f7eee (patch)
treec3dd3dec6754957cbe10440fb883a34d74002307 /lib
parent38fe97060d06246804b45494cacbed134b1c51fa (diff)
downloadotp-eece23d7f6b225a6abc3807f9af44d1f742f7eee.tar.gz
otp-eece23d7f6b225a6abc3807f9af44d1f742f7eee.tar.bz2
otp-eece23d7f6b225a6abc3807f9af44d1f742f7eee.zip
erts: Polish off erlang:list_to_ref/1
Diffstat (limited to 'lib')
-rw-r--r--lib/compiler/src/erl_bifs.erl1
-rw-r--r--lib/stdlib/src/erl_internal.erl1
-rw-r--r--lib/tools/emacs/erlang.el1
3 files changed, 3 insertions, 0 deletions
diff --git a/lib/compiler/src/erl_bifs.erl b/lib/compiler/src/erl_bifs.erl
index d60f73d421..3ee789e2ab 100644
--- a/lib/compiler/src/erl_bifs.erl
+++ b/lib/compiler/src/erl_bifs.erl
@@ -108,6 +108,7 @@ 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_pid, 1) -> true;
+is_pure(erlang, list_to_ref, 1) -> true;
is_pure(erlang, list_to_tuple, 1) -> true;
is_pure(erlang, max, 2) -> true;
is_pure(erlang, min, 2) -> true;
diff --git a/lib/stdlib/src/erl_internal.erl b/lib/stdlib/src/erl_internal.erl
index 006e7946af..6bf4eea843 100644
--- a/lib/stdlib/src/erl_internal.erl
+++ b/lib/stdlib/src/erl_internal.erl
@@ -331,6 +331,7 @@ bif(list_to_float, 1) -> true;
bif(list_to_integer, 1) -> true;
bif(list_to_integer, 2) -> true;
bif(list_to_pid, 1) -> true;
+bif(list_to_ref, 1) -> true;
bif(list_to_tuple, 1) -> true;
bif(load_module, 2) -> true;
bif(make_ref, 0) -> true;
diff --git a/lib/tools/emacs/erlang.el b/lib/tools/emacs/erlang.el
index 59b20c552e..8025f25b43 100644
--- a/lib/tools/emacs/erlang.el
+++ b/lib/tools/emacs/erlang.el
@@ -836,6 +836,7 @@ resulting regexp is surrounded by \\_< and \\_>."
"list_to_float"
"list_to_integer"
"list_to_pid"
+ "list_to_ref"
"list_to_tuple"
"load_module"
"make_ref"