Raku / old-issue-tracker

Tickets from RT
https://github.com/Raku/old-issue-tracker/issues
2 stars 1 forks source link

Backtrace should point at the faulty line and not the statement line #5078

Open p6rt opened 8 years ago

p6rt commented 8 years ago

Migrated from rt.perl.org#127345 (status was 'open')

Searchable as RT127345$

p6rt commented 8 years ago

From @Skarsnik

Running https://gist.github.com/Skarsnik/6bff05010aa08d1b7869 Method 'piko' not found for invocant of class 'Any'   in block \ at p.p6 line 4

When the error is at line 5

-- Sylvain "Skarsnik" Colinet

Victory was near but the power of the ring couldn't be undone

p6rt commented 8 years ago

From @coke

On Fri Jan 22 08​:21​:23 2016, scolinet@​gmail.com wrote​:

Running https://gist.github.com/Skarsnik/6bff05010aa08d1b7869 Method 'piko' not found for invocant of class 'Any' in block \ at p.p6 line 4

When the error is at line 5

Please attach the file to the ticket or paste it inline if it's short.

-- Will "Coke" Coleda

p6rt commented 8 years ago

The RT System itself - Status changed from 'new' to 'open'

p6rt commented 8 years ago

From @Skarsnik

Le Ven 22 Jan 2016 08​:21​:23, scolinet@​gmail.com a écrit :

Running https://gist.github.com/Skarsnik/6bff05010aa08d1b7869 Method 'piko' not found for invocant of class 'Any' in block \ at p.p6 line 4

When the error is at line 5

my $a;

say "hello " if 1 eq 0 || # line 4   $a.piko;

p6rt commented 8 years ago

From @zoffixznet

Still present today

\ m​: my $a;␤say "hello " if 1 eq 0 ||␤␤␤␤␤␤␤$a.piko; \ rakudo-moar 589061​: OUTPUT«Method 'piko' not found for invocant of class 'Any'␤ in block \ at \ line 2␤␤»

-- Cheers, ZZ | https://twitter.com/zoffix