aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-04-07 16:52:05 +0200
committerBjörn-Egil Dahlberg <[email protected]>2016-04-07 16:52:05 +0200
commit0914884d534dab195f0ff4752e8ea4feda56dbb6 (patch)
treea88b545c9d5944c49531f8599234e9a571255b23
parente28b9ae141691d9db0670c2fdb7e0c840f354a26 (diff)
downloadotp-0914884d534dab195f0ff4752e8ea4feda56dbb6.tar.gz
otp-0914884d534dab195f0ff4752e8ea4feda56dbb6.tar.bz2
otp-0914884d534dab195f0ff4752e8ea4feda56dbb6.zip
erts: Fix process_info/2 result spec
-rw-r--r--erts/preloaded/src/erlang.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/preloaded/src/erlang.erl b/erts/preloaded/src/erlang.erl
index dfbd116d6e..50b01703ac 100644
--- a/erts/preloaded/src/erlang.erl
+++ b/erts/preloaded/src/erlang.erl
@@ -2130,7 +2130,7 @@ process_flag(_Flag, _Value) ->
{message_queue_data, MQD :: message_queue_data()} |
{priority, Level :: priority_level()} |
{reductions, Number :: non_neg_integer()} |
- {registered_name, Atom :: atom()} |
+ {registered_name, [] | (Atom :: atom())} |
{sequential_trace_token, [] | (SequentialTraceToken :: term())} |
{stack_size, Size :: non_neg_integer()} |
{status, Status :: exiting | garbage_collecting | waiting | running | runnable | suspended} |