diff options
author | Chris Keele <[email protected]> | 2018-04-19 01:23:36 -0700 |
---|---|---|
committer | Chris Keele <[email protected]> | 2018-04-19 01:24:40 -0700 |
commit | 957f9ae644ae55a005b032e63e31021690292115 (patch) | |
tree | 3a1a26a4386d0f4e6c4e0c4b913412cdf82f6471 /erts/emulator/test/Makefile | |
parent | 19256441771c191bcc971377e438cfa859246c55 (diff) | |
download | otp-957f9ae644ae55a005b032e63e31021690292115.tar.gz otp-957f9ae644ae55a005b032e63e31021690292115.tar.bz2 otp-957f9ae644ae55a005b032e63e31021690292115.zip |
Remove trace-specific terms from docs for table-oriented matchspecs
This removes the matchspec instructions `is_seq_trace` and `get_tcw/0`
from the documentation for table-oriented matchspecs.
This is likely correct as both are already documented under "Functions
Allowed Only for Tracing", despite appearing in the list of possible
options for table specs.
The following observations further back this change up:
```erl
erlang:match_spec_test([whatever], [{'_', [], [{is_seq_trace}]}], trace).
%=> {ok,true,[],[]}
erlang:match_spec_test({whatever}, [{'_', [], [{is_seq_trace}]}], table).
%=> {error,[{error,"Special form 'is_seq_trace' used in wrong %dialect."}]}
erlang:match_spec_test([whatever], [{'_', [], [{get_tcw}]}], trace).
%=> {ok,true,[],[]}
erlang:match_spec_test({whatever}, [{'_', [], [{get_tcw}]}], table).
%=> {error,[{error,"Function get_tcw/0 cannot be called in this context."}]}
```
Diffstat (limited to 'erts/emulator/test/Makefile')
0 files changed, 0 insertions, 0 deletions