aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/slave.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2011-05-23 16:12:41 +0200
committerHans Bolinder <[email protected]>2011-05-23 16:12:41 +0200
commit3c41b96f85bda38d1859f48ededd9c0d8001c028 (patch)
treea53efe84c86c846d0417172376791e3ee68468fa /lib/stdlib/src/slave.erl
parentad5a1519e74d79218c0dd2ef79a39d75bd0155bf (diff)
downloadotp-3c41b96f85bda38d1859f48ededd9c0d8001c028.tar.gz
otp-3c41b96f85bda38d1859f48ededd9c0d8001c028.tar.bz2
otp-3c41b96f85bda38d1859f48ededd9c0d8001c028.zip
Fix a spec and a type
A specification that could cause problems for Dialyzer has been fixed. An opaque type in erl_eval has been turned in to a ordinary type. This is a temporary fix.
Diffstat (limited to 'lib/stdlib/src/slave.erl')
-rw-r--r--lib/stdlib/src/slave.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/slave.erl b/lib/stdlib/src/slave.erl
index d79ee676d9..de0179da59 100644
--- a/lib/stdlib/src/slave.erl
+++ b/lib/stdlib/src/slave.erl
@@ -72,7 +72,7 @@ start_pseudo(_,_,_) -> ok. %% It's already there
%% This relay can be used to relay all messages directed to a process.
--spec relay(Pid) -> none() when
+-spec relay(Pid) -> no_return() when
Pid :: pid().
relay({badrpc,Reason}) ->