develooper Front page | perl.perl5.porters | Postings from October 2014

[perl #121374] Wrong line number in signature errors

Thread Next
From:
Father Chrysostomos via RT
Date:
October 28, 2014 21:45
Subject:
[perl #121374] Wrong line number in signature errors
Message ID:
rt-4.0.18-21209-1414532736-514.121374-15-0@perl.org
On Tue Oct 28 13:31:20 2014, mauke- wrote:
> On Mon Oct 27 15:52:09 2014, sprout wrote:
> > On Mon Oct 27 15:05:43 2014, mauke- wrote:
> > > ... Or I could change all of those to qr/\AToo many arguments for
> > > subroutine at \(eval \d+) line 1\.$/. That would keep the string eval
> > > but make sure the reported location refers to the call.
> > > 
> > > Suggestions?
> > 
> > Another approach is to add more tests to t/lib/croak/toke.
> > 
> > Do it whichever way makes it easiest for you.
> 
> OK! Test patch attached.
> 

Thank you.  Both applied:

$ git log --oneline -2
aff539a test line numbers in arity errors
a2b5b20 fix line numbers in arity errors [#121374]

-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=121374

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About