In running Dialyzer on my code, these warnings came up for the Erlang RabbitMQ Client (rabbitmq-erlang-client-200803131204.tar.gz). This seems to be the latest version of the client.<br><div id="1el6" class="ArwC7c ckChnd">
<br>amqp_connection.erl:114: The call erlang:exit('channel_already_registered',ChannelNumber::any()) will fail since it differs in argument position 1 from the success typing arguments: (pid() | port(),any())<br>
test_util.erl:237: The call erlang:exit('should_not_receive_any_more_messages',Msg::any()) will fail since it differs in argument position 1 from the success typing arguments: (pid() | port(),any())<br><br>These warnings look to be justified because exit/2 is defined as<br>
<p><a name="11a98cf5ec873d0c_exit-2"><span>exit(Pid, Reason) -> true</span></a><br>
</p>
<div><p>Types:</p>
<div>
<p>
<span>Pid = pid()</span><br>
<span>Reason = term()</span></p></div></div></div>