diff options
author | Björn Gustavsson <[email protected]> | 2016-05-25 07:06:55 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-05-30 13:19:20 +0200 |
commit | 88632d70cc866b5e54589ccb9311c7c5a88ecb46 (patch) | |
tree | 286c932ee10b8e0b52691958fcad3390c8ab6090 /lib/compiler/test/Makefile | |
parent | 4992284e993f26afc83630dd6c1ffeb27a00ef65 (diff) | |
download | otp-88632d70cc866b5e54589ccb9311c7c5a88ecb46.tar.gz otp-88632d70cc866b5e54589ccb9311c7c5a88ecb46.tar.bz2 otp-88632d70cc866b5e54589ccb9311c7c5a88ecb46.zip |
beam_validator: Add is_bitstring/1 as a safe BIF
beam_validator wrongly complained that the following was
not safe because it didn't know that is_bitstring/1 is safe:
food(Curriculum) ->
[try
is_bitstring(functions)
catch _ ->
0
end, Curriculum].
While we are it, also add a new bif_SUITE test suite to cover some
more code in beam_validator.
Diffstat (limited to 'lib/compiler/test/Makefile')
-rw-r--r-- | lib/compiler/test/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/compiler/test/Makefile b/lib/compiler/test/Makefile index da4ea548fd..f0185acbc7 100644 --- a/lib/compiler/test/Makefile +++ b/lib/compiler/test/Makefile @@ -17,6 +17,7 @@ MODULES= \ beam_reorder_SUITE \ beam_type_SUITE \ beam_utils_SUITE \ + bif_SUITE \ bs_bincomp_SUITE \ bs_bit_binaries_SUITE \ bs_construct_SUITE \ @@ -54,6 +55,7 @@ NO_OPT= \ beam_reorder \ beam_type \ beam_utils \ + bif \ bs_construct \ bs_match \ bs_utf \ |