diff options
author | Björn Gustavsson <[email protected]> | 2012-01-10 14:17:43 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2012-02-08 10:59:03 +0100 |
commit | 344f187ec3488cbc7b5a3d75bd8cc08f3b4fefab (patch) | |
tree | be734a563f8fa7ac6dd3b92c35ee34a23185a630 /lib | |
parent | d0394af6541d99bd72192d35fc4986016c3a6589 (diff) | |
download | otp-344f187ec3488cbc7b5a3d75bd8cc08f3b4fefab.tar.gz otp-344f187ec3488cbc7b5a3d75bd8cc08f3b4fefab.tar.bz2 otp-344f187ec3488cbc7b5a3d75bd8cc08f3b4fefab.zip |
bif_SUITE: Add test case for specs and BIF stubs
Rename the existing types/1 test case to erl_bif_types/1 to make
it clearer what it does. Also no longer test for missing type
information for BIFs (since it has become optional), but only
check that the information provided seems to be consistent.
Introduce the specs/1 test case to ensure that all BIFs have
specs.
Also introduce improper_bif_stubs/1 to check for proper stubs.
Since the BEAM loader will now silently allow stubs for BIFs, we
want to be particular about exactly what a stub look like, so that
an Erlang function is not unintentionally overridden by a BIF.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions