Test for BIFs without type information

Björn Gustavsson bgustavsson@REDACTED
Mon May 24 14:00:58 CEST 2010


Add a test case that will fail if there are any
BIFs without type information:

git fetch git://github.com/bjorng/otp.git bg/bif-types

According to the test case, the following BIFs don't have
type information:

[{erlang,adler32,1},
 {erlang,adler32,2},
 {erlang,adler32_combine,3},
 {erlang,display_string,1},
 {erlang,display_nl,0},
 {erlang,garbage_collect_message_area,0},
 {erlang,port_call,2},
 {erlang,append,2},
 {erlang,subtract,2},
 {erts_debug,get_internal_state,1},
 {erts_debug,set_internal_state,2},
 {erts_debug,display,1},
 {erts_debug,dump_monitors,1},
 {erts_debug,dump_links,1},
 {erlang,blocking_read_file,1},
 {erlang,binary_part,2},
 {erlang,binary_part,3},
 {binary,compile_pattern,1},
 {binary,match,2},
 {binary,match,3},
 {binary,matches,2},
 {binary,matches,3},
 {binary,longest_common_prefix,1},
 {binary,longest_common_suffix,1},
 {binary,first,1},
 {binary,last,1},
 {binary,at,2},
 {binary,part,2},
 {binary,part,3},
 {binary,bin_to_list,1},
 {binary,bin_to_list,2},
 {binary,bin_to_list,3},
 {binary,list_to_bin,1},
 {binary,copy,1},
 {binary,copy,2},
 {binary,referenced_byte_size,1},
 {binary,encode_unsigned,1},
 {binary,encode_unsigned,2},
 {binary,decode_unsigned,1},
 {binary,decode_unsigned,2}]

-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB


More information about the erlang-patches mailing list