I can see that as being tricky too implement. If you get the error message, it's easy enough to ask most editors for all occurrences of the string.
On 6/5/15, Alex Jakimenko <[email protected]> wrote: > # New Ticket Created by Alex Jakimenko > # Please include the string: [perl #125333] > # in the subject line of all future correspondence about this issue. > # <URL: https://rt.perl.org/Ticket/Display.html?id=125333 > > > > Code: > > #!/usr/bin/env perl6 > my $foo; > my $foo; > > Result: > > Potential difficulties: > Redeclaration of symbol $foo > at ./test.pl:3 > ------> my $foo⏏; > > It would be great if it printed the line number of the first declaration > (e.g. "first declared on line 2"). >
