
iodata.erl:7:2: The specification for iodata:encode/2 states that the function might also return binary() but the inferred return is nonempty_maybe_improper_list(nonempty_binary() | nonempty_maybe_improper_list(nonempty_binary() | nonempty_maybe_improper_list(any(),nonempty_binary() | []) | byte(),nonempty_binary() | []) | integer(),nonempty_binary() | []) | integer()
iodata.erl:7:2: The success typing for iodata:encode/2 implies that the function might also return integer() but the specification return is binary() | maybe_improper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | [])
