Therefore, for example, the current implementation rejects the following, which is accepted by Dialyzer:
-module(binary_test).
-export([main/1]).
main(X) ->
_ = binary_to_integer(X), %% binary -> integer.
_ = bit_size(X). %% bitstring -> integer >= 0.