aboutsummaryrefslogtreecommitdiffstats
path: root/erts/preloaded/src
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2016-03-21 17:53:26 +0100
committerLukas Larsson <[email protected]>2016-04-15 15:08:42 +0200
commit8e2ec999394c77741241ef1a12728b11195961c8 (patch)
treeb7d5a1886472df425057111ad670794701a48baa /erts/preloaded/src
parent6117ee72af5c0c2973a0f20fb847a216825db03f (diff)
downloadotp-8e2ec999394c77741241ef1a12728b11195961c8.tar.gz
otp-8e2ec999394c77741241ef1a12728b11195961c8.tar.bz2
otp-8e2ec999394c77741241ef1a12728b11195961c8.zip
erts: Document erlang:match_spec_test/3
OTP-13501
Diffstat (limited to 'erts/preloaded/src')
-rw-r--r--erts/preloaded/src/erlang.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/erts/preloaded/src/erlang.erl b/erts/preloaded/src/erlang.erl
index 40d0abd321..3cc17014ff 100644
--- a/erts/preloaded/src/erlang.erl
+++ b/erts/preloaded/src/erlang.erl
@@ -1163,10 +1163,10 @@ map_size(_Map) ->
erlang:nif_error(undefined).
%% match_spec_test/3
--spec erlang:match_spec_test(P1, P2, P3) -> TestResult when
- P1 :: [term()] | tuple(),
- P2 :: term(),
- P3 :: table | trace,
+-spec erlang:match_spec_test(MatchAgainst, MatchSpec, Type) -> TestResult when
+ MatchAgainst :: [term()] | tuple(),
+ MatchSpec :: term(),
+ Type :: table | trace,
TestResult :: {ok, term(), [return_trace], [ {error | warning, string()} ]} | {error, [ {error | warning, string()} ]}.
match_spec_test(_P1, _P2, _P3) ->
erlang:nif_error(undefined).