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
Bogus redeclaration error when doing a declaration inside a $() in an interpolating string in Rakudo #1953
Comments
From @masak<masak> rakudo: "foo$(my $x = 42)bar"; say $x It's OK for the time being to declare variables inside $() in qq |
@coke - Status changed from 'new' to 'open' |
From @cokeSame behavior in rakudo 38907e. -- |
From @jnthnOn Tue Jul 20 11:48:59 2010, masak wrote:
Seems to work fine now:
Tagging testneeded. /jnthn |
From @usev6stmuk added a test for this recently: Raku/roast@b4fc0fe I moved the test from S02-names-var/76608.t to S02-literals/misc-interpolation.t (which is in 't/spectest.data'). The test passes on all rakudo backends. |
@usev6 - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#76608 (status was 'resolved')
Searchable as RT76608$
The text was updated successfully, but these errors were encountered: