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

Report information
The Basics
Id:
80357
Status:
new
Priority:
Low/Low

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

BugTracker
Severity:
Critical
Broken in:
0.43
Fixed in:
(no value)



Subject: MX:M:S can corrupt line numbers for unrelated parts of the file
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 507
$ cat lineno #!perl use warnings; use strict; use MooseX::Method::Signatures; { my $uniq = 0; method fresh_name() { $self->prefix . $uniq++ } } # this is line 13 method prefix() { $self->{prefix} } my $aref = []; my $oops = %{ $aref }; print "got $oops\n"; __END__ $ perl lineno Not a HASH reference at lineno line 13. This line number is bogus. Line 13 is "}"; the actual error is on line 20. Corrupted line numbers make debugging runtime errors unnecessarily interesting.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.