|
|
| Author |
Message |
< RabbitMQ mailing list ~ Dialyzer errors in RabbitMQ Erlang client |
| Guest |
Posted: Tue Jun 17, 2008 11:22 pm |
|
|
|
Guest
|
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.
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())
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())
These warnings look to be justified because exit/2 is defined as
exit(Pid, Reason) -> true
Types:
Pid = pid()
Reason = term()
Post received from mailinglist |
|
|
| Back to top |
|
| 0x6e6562 |
Posted: Wed Jun 18, 2008 6:12 am |
|
|
|
User
Joined: 12 Jul 2007
Posts: 250
|
Edwin,
On Wed, Jun 18, 2008 at 12:21 AM, Edwin Fine
<rabbitmq-discuss_efine@usa.net> wrote:
> 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())
> 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())
This is a bug. I'll apply a fix and let you know when the new Erlang
client repo is available (see previous post).
Thanks for the input,
Ben
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist |
|
|
| Back to top |
|
| 0x6e6562 |
Posted: Mon Jun 23, 2008 10:39 am |
|
|
|
User
Joined: 12 Jul 2007
Posts: 250
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|