Skip Menu |

This queue is for tickets about the Dios CPAN distribution.

Report information
The Basics
Id: 122257
Status: resolved
Priority: 0/
Queue: Dios

People
Owner: DCONWAY [...] cpan.org
Requestors: JEFFOBER [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Method calls fail when method with return type is defined without invocant
From: JEFFOBER [...] cpan.org
Ticket submitted before I could post the error message and reproduction steps. When a method is defined as: class Some::Class { method foo (--> Int) {...} } ...calls to the method will produce an error: Unexpected extra argument (bless(do{\(my $o = 1)}, "Some::Class")) in call to method foo at ... The same method, defined with an explicit invocant, will succeed: class Some::Classs { method foo ($self: --> Int) {...} }
Subject: Re: [rt.cpan.org #122257] Method calls fail when method with return type is defined without invocant
Date: Wed, 28 Jun 2017 07:08:37 +1000
To: bug-Dios [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
Thanks Jeff. That's a nasty bug you found. I've fixed it and uploaded a new release. Much appreciated! Damian