aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2013-06-07 14:44:59 +0200
committerLukas Larsson <[email protected]>2013-06-07 17:18:08 +0200
commitb22af34c26ced7b6d67536da1694083964fa4dd5 (patch)
treefd75d36458cc00cbaa0bdee9b50c25c7071a063a
parentf7295b48627fb84bceef61044b6f2d0cbee10c2b (diff)
downloadotp-b22af34c26ced7b6d67536da1694083964fa4dd5.tar.gz
otp-b22af34c26ced7b6d67536da1694083964fa4dd5.tar.bz2
otp-b22af34c26ced7b6d67536da1694083964fa4dd5.zip
erts: Update spec in preloaded to reflect success typing (again)
-rw-r--r--erts/preloaded/ebin/erlang.beambin94128 -> 94124 bytes
-rw-r--r--erts/preloaded/src/erlang.erl4
2 files changed, 2 insertions, 2 deletions
diff --git a/erts/preloaded/ebin/erlang.beam b/erts/preloaded/ebin/erlang.beam
index d977b237be..cdc13a656d 100644
--- a/erts/preloaded/ebin/erlang.beam
+++ b/erts/preloaded/ebin/erlang.beam
Binary files differ
diff --git a/erts/preloaded/src/erlang.erl b/erts/preloaded/src/erlang.erl
index 34785ff2a9..e016a50c4c 100644
--- a/erts/preloaded/src/erlang.erl
+++ b/erts/preloaded/src/erlang.erl
@@ -3554,8 +3554,8 @@ sched_wall_time(Ref, N, Acc) ->
{Ref, SWT} -> sched_wall_time(Ref, N-1, [SWT|Acc])
end.
--spec erlang:gather_gc_info_result(Ref) -> [{number(),number(),0}] when
- Ref :: reference().
+-spec erlang:gather_gc_info_result(Ref) ->
+ {number(),number(),0} when Ref :: reference().
gather_gc_info_result(Ref) when erlang:is_reference(Ref) ->
gc_info(Ref, erlang:system_info(schedulers), {0,0}).