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

LTA error message when alphabetic characters follow digits in $0 variable in interpolation in Rakudo #1657

Closed
p6rt opened this issue Apr 9, 2010 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Apr 9, 2010

Migrated from rt.perl.org#74180 (status was 'resolved')

Searchable as RT74180$

@p6rt
Copy link
Author

p6rt commented Apr 9, 2010

From @masak

<masak> rakudo​: "foo" ~~ /(foo)/; say "$0a"
<p6eval> rakudo 4c94d7​: OUTPUT«Method 'ast' not found for invocant of
class 'Undef'␤[...]
* masak submits LTA rakudobug
<masak> rakudo​: "foo" ~~ /(foo)/; say $0a
<p6eval> rakudo 4c94d7​: OUTPUT«Confused at line 11, near "say $0a"␤ [...]
<masak> alpha​: "foo" ~~ /(foo)/; say "$0a"
<p6eval> alpha 30e0ed​: OUTPUT«fooa␤»
<masak> jnthn​: dredged up by November. the app cheese strikes again! :)

@p6rt
Copy link
Author

p6rt commented May 29, 2012

From @diakopter

On Fri Apr 09 07​:27​:32 2010, masak wrote​:

<masak> rakudo​: "foo" ~~ /(foo)/; say "$0a"
<p6eval> rakudo 4c94d7​: OUTPUT«Method 'ast' not found for invocant of
class 'Undef'␤[...]
* masak submits LTA rakudobug
<masak> rakudo​: "foo" ~~ /(foo)/; say $0a
<p6eval> rakudo 4c94d7​: OUTPUT«Confused at line 11, near "say $0a"␤
[...]
<masak> alpha​: "foo" ~~ /(foo)/; say "$0a"
<p6eval> alpha 30e0ed​: OUTPUT«fooa␤»
<masak> jnthn​: dredged up by November. the app cheese strikes again!
:)

now fixed. marking testneeded.

15​:36 <diakopter> rakudo​: "foo" ~~ /(foo)/; say "$0a"
15​:36 <p6eval> rakudo 3b1596​: OUTPUT«fooa␤»

@p6rt
Copy link
Author

p6rt commented May 29, 2012

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

@p6rt
Copy link
Author

p6rt commented Jul 15, 2012

From @bbkr

Tests in​:

Raku/roast@606e73751f

masak​: Ticket has "LTA error message" subject which suggests that you expect this code to fail.
I've checked and STD allows this syntax, so I wrote test that expects working interpolation, not
an error.
Please reopen if you think otherwise.

@p6rt
Copy link
Author

p6rt commented Jul 15, 2012

@bbkr - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant