diff options
author | Björn Gustavsson <[email protected]> | 2014-05-12 14:26:30 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2014-05-12 14:37:22 +0200 |
commit | 7ff17ddfd337d1c49c1174d8d24b2ce0671b2c9e (patch) | |
tree | c5bd1ae2ec0d187b6a7f89cbee1acfd23f29a261 /system | |
parent | 80a528ae9ca670cad91eccf97b385baf67b09981 (diff) | |
download | otp-7ff17ddfd337d1c49c1174d8d24b2ce0671b2c9e.tar.gz otp-7ff17ddfd337d1c49c1174d8d24b2ce0671b2c9e.tar.bz2 otp-7ff17ddfd337d1c49c1174d8d24b2ce0671b2c9e.zip |
BIFs should be considered exported
All BIFs now have stub functions and are exported. For example
in the erlang module:
-export([..., is_list/1, ...]).
.
.
.
is_list(_Term) ->
erlang:nif_error(undefined).
But erlang:function_exported(erlang, is_list, 1) returns false,
which is weird.
Change erlang:function_exported/3 to return true for BIFs.
Diffstat (limited to 'system')
0 files changed, 0 insertions, 0 deletions