diff options
author | Hans Bolinder <[email protected]> | 2016-11-02 09:14:23 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2016-11-02 09:14:23 +0100 |
commit | b8fee0165c0fd510aebde6445833052dba8f7ece (patch) | |
tree | cb67bd14eb12b2d127ceaeb8225c354f4423c498 /erts/preloaded/src/erts_internal.erl | |
parent | 32204413c0501b4ace070842ab75afb55cfd0d02 (diff) | |
parent | 16cf273d4004be907f976ca0e059e895fdf9692b (diff) | |
download | otp-b8fee0165c0fd510aebde6445833052dba8f7ece.tar.gz otp-b8fee0165c0fd510aebde6445833052dba8f7ece.tar.bz2 otp-b8fee0165c0fd510aebde6445833052dba8f7ece.zip |
Merge branch 'hasse/erts/fix_match_spec_head/OTP-13996' into maint
* hasse/erts/fix_match_spec_head/OTP-13996:
Update preloaded
erts: Correct type declaration of match specification head
Diffstat (limited to 'erts/preloaded/src/erts_internal.erl')
-rw-r--r-- | erts/preloaded/src/erts_internal.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/preloaded/src/erts_internal.erl b/erts/preloaded/src/erts_internal.erl index 6aae5ba38c..f4518c4008 100644 --- a/erts/preloaded/src/erts_internal.erl +++ b/erts/preloaded/src/erts_internal.erl @@ -438,10 +438,11 @@ microstate_accounting(Ref, Threads) -> trace(_PidSpec, _How, _FlagList) -> erlang:nif_error(undefined). +-type match_variable() :: atom(). % Approximation of '$1' | '$2' | ... -type trace_pattern_mfa() :: {atom(),atom(),arity() | '_'} | on_load. -type trace_match_spec() :: - [{[term()] | '_' ,[term()],[term()]}]. + [{[term()] | '_' | match_variable() ,[term()],[term()]}]. -spec trace_pattern(MFA, MatchSpec, FlagList) -> non_neg_integer() when MFA :: trace_pattern_mfa(), |