aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2012-11-16 09:46:03 +0100
committerPatrik Nyblom <[email protected]>2012-11-16 09:46:03 +0100
commit7a637b67d2c97ed682fb338f66ec9aabbf8d47c9 (patch)
tree38fb192d885575653860dd82c1a25e5ad8478db7
parentd51f75af306975ba59e5eee1d86bf10ea00135ff (diff)
parentb48f5469c69242185967dfe9ab595c6a06210d78 (diff)
downloadotp-7a637b67d2c97ed682fb338f66ec9aabbf8d47c9.tar.gz
otp-7a637b67d2c97ed682fb338f66ec9aabbf8d47c9.tar.bz2
otp-7a637b67d2c97ed682fb338f66ec9aabbf8d47c9.zip
Merge branch 'pan/r15/erlang-spec-error/process_info' into maint
* pan/r15/erlang-spec-error/process_info: Correct spec for erlang:process_info(Pid,links) OTP-10584
-rw-r--r--lib/hipe/cerl/erl_bif_types.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hipe/cerl/erl_bif_types.erl b/lib/hipe/cerl/erl_bif_types.erl
index fbb77b6a42..c97de59701 100644
--- a/lib/hipe/cerl/erl_bif_types.erl
+++ b/lib/hipe/cerl/erl_bif_types.erl
@@ -1266,7 +1266,7 @@ type(erlang, process_info, 2, Xs) ->
['last_calls'] ->
t_tuple([InfoItem,
t_sup(t_atom('false'), t_list())]);
- ['links'] -> t_tuple([InfoItem, t_list(t_pid())]);
+ ['links'] -> t_tuple([InfoItem, t_list(t_sup(t_pid(),t_port()))]);
['memory'] ->
t_tuple([InfoItem, t_non_neg_integer()]);
['message_queue_len'] ->