diff options
author | Björn Gustavsson <[email protected]> | 2016-06-20 15:35:38 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-06-22 13:07:05 +0200 |
commit | 1c7526a30444a0e3f0bc038ae5894d63b7914e46 (patch) | |
tree | ad9fc4511fc78957b225ccf4f8fd5d4ed85e9a9f /lib/stdlib/include/qlc.hrl | |
parent | eb9766ca5d507d8cb8e1448780f96ba1cb45ff36 (diff) | |
download | otp-1c7526a30444a0e3f0bc038ae5894d63b7914e46.tar.gz otp-1c7526a30444a0e3f0bc038ae5894d63b7914e46.tar.bz2 otp-1c7526a30444a0e3f0bc038ae5894d63b7914e46.zip |
erl_internal: Eliminate duplication of guard tests
Guard tests (e.g. is_list/1) are listed both in guard_bif/2 and
in new_type_test/2. That is a trap for anyone who wants to add
a new guard test. Let guard_bif/2 call new_type_test/2 so that
new guard tests only have to be added in one place.
While we are it, also sort the clauses in guard_bif/2 and
new_type/2.
Diffstat (limited to 'lib/stdlib/include/qlc.hrl')
0 files changed, 0 insertions, 0 deletions