aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2016-07-05 08:42:16 +0200
committerHans Bolinder <[email protected]>2016-07-05 08:42:16 +0200
commit233babeb9faa30fbf472e206638bec42470e0ed0 (patch)
tree1cca6263c71265338ae61a2a38881b3682843926 /lib
parentbe5630d6fccb564272c206baefdbfa235d9a38a7 (diff)
parent04bb724a572c78d775df2ec12a1694870369c3b4 (diff)
downloadotp-233babeb9faa30fbf472e206638bec42470e0ed0.tar.gz
otp-233babeb9faa30fbf472e206638bec42470e0ed0.tar.bz2
otp-233babeb9faa30fbf472e206638bec42470e0ed0.zip
Merge branch 'maint'
* maint: Fix return value spec for ets:match_object
Diffstat (limited to 'lib')
-rw-r--r--lib/stdlib/src/ets.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/stdlib/src/ets.erl b/lib/stdlib/src/ets.erl
index 3f74e01692..20de06fd0b 100644
--- a/lib/stdlib/src/ets.erl
+++ b/lib/stdlib/src/ets.erl
@@ -232,20 +232,20 @@ match(_) ->
match_object(_, _) ->
erlang:nif_error(undef).
--spec match_object(Tab, Pattern, Limit) -> {[Match], Continuation} |
+-spec match_object(Tab, Pattern, Limit) -> {[Object], Continuation} |
'$end_of_table' when
Tab :: tab(),
Pattern :: match_pattern(),
Limit :: pos_integer(),
- Match :: [term()],
+ Object :: tuple(),
Continuation :: continuation().
match_object(_, _, _) ->
erlang:nif_error(undef).
--spec match_object(Continuation) -> {[Match], Continuation} |
+-spec match_object(Continuation) -> {[Object], Continuation} |
'$end_of_table' when
- Match :: [term()],
+ Object :: tuple(),
Continuation :: continuation().
match_object(_) ->