Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
p6rt opened this issue Jan 22, 2016 · 5 comments
Open

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

p6rt opened this issue Jan 22, 2016 · 5 comments
Labels
LTA

Comments

@p6rt
Copy link

@p6rt p6rt commented Jan 22, 2016

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

Searchable as RT127345$

@p6rt
Copy link
Author

@p6rt p6rt commented Jan 22, 2016

From @Skarsnik

Running
https://gist.github.com/Skarsnik/6bff05010aa08d1b7869
Method 'piko' not found for invocant of class 'Any'
  in block <unit> 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
Copy link
Author

@p6rt p6rt commented Jan 25, 2016

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 <unit> 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
Copy link
Author

@p6rt p6rt commented Jan 25, 2016

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

@p6rt
Copy link
Author

@p6rt p6rt commented Jan 25, 2016

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 <unit> 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
Copy link
Author

@p6rt p6rt commented Aug 6, 2016

From @zoffixznet

Still present today

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

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

@p6rt p6rt added the LTA label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.