retupmoca / P6-Net-AMQP

MIT License
6 stars 4 forks source link

Alter deprecated Supply.more to Supply.emit #1

Closed jonathanstowe closed 9 years ago

jonathanstowe commented 9 years ago

Hi, Just having a play with the module with

This is perl6 version 2015.02-356-g412559b built on MoarVM version 2015.02-71-ga623b72

And was getting

Saw 1 call to deprecated code during execution.

Method more (from Supply) called at: lib/Net/AMQP.pm6, line 155 Deprecated since v2014.10, will be removed with release v2015.10! lib/Net/AMQP/Queue.pm6, line 230 Deprecated since v2014.10, will be removed with release v2015.10! Please use emit instead.

This fixes that. Haven't worked out how to test for deprecations yet, otherwise I would have added a test.

Thanks for what could be a really useful module.

retupmoca commented 9 years ago

Thanks!

jonathanstowe commented 9 years ago

All good, thanks for making a P6 module that made me realise I can make something I want to write in Perl 6 :)

On Tue, 2015-03-17 at 14:05 -0700, Andrew Egeler wrote:

Thanks!

— Reply to this email directly or view it on GitHub.