Skip Menu |

This queue is for tickets about the Moose CPAN distribution.

Report information
The Basics
Id: 77383
Status: resolved
Priority: 0/
Queue: Moose

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

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



Subject: super(@args) should warn!
Doing a Moose class today, I wondered whether: override blah => sub { my $self = shift; my $arg = shift; super($arg * 2); }; would properly warn. It didn't. :( (recall that super() automatically passes @_ to your super-method for you, so arguments to super() are ignored)
This was fixed a while ago - b99506c.