Skip Menu |

This queue is for tickets about the MooseX-Method-Signatures CPAN distribution.

Report information
The Basics
Id: 71528
Status: resolved
Priority: 0/
Queue: MooseX-Method-Signatures

People
Owner: Nobody in particular
Requestors: ether [...] cpan.org
Cc:
AdminCc:

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



Subject: All arguments must be on the same line
After upgrading Devel::Declare to 0.006007 and B::Hooks::OP::Check to 0.19 (other things were upgraded at the same time, but this *appears* to be the only modules that are relevant), a method declaration must now have all its args on the same line: This fails: $ perl -MCarp::Always mxms.pl Undefined subroutine &Foo::o called at mxms.pl line 10 $ cat mxms.pl { package Foo; use strict; use warnings; use MooseX::Method::Signatures; method blah($this: Bool :$arg!, Bool :$arg2) { } } But this works: $ perl -MCarp::Always mxms.pl $ cat mxms.pl { package Foo; use strict; use warnings; use MooseX::Method::Signatures; method blah($this: Bool :$arg!, Bool :$arg2) { } } perl version is 5.8.8, i386 linux.
I filed a ticket for DD, as https://rt.cpan.org/Ticket/Display.html?id=71529. Downgrading DD to 0.006006 resolved the issue.
On Fri Oct 07 11:45:29 2011, ETHER wrote: Show quoted text
> I filed a ticket for DD, as > https://rt.cpan.org/Ticket/Display.html?id=71529. Downgrading DD to > 0.006006 resolved the issue.
BTW Devel::Declare 0.006008 was released to resolve this.