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
Interpolation at edge of quoteword items cancels out inter-item space #3264
Comments
From @ShimmerFairy<TimToady> p: say «{4 + 2} 4+2» <lue> p: say «1 2 3» In rakudo, if an interpolation occurs at the edge of a «» quoteword item, the space separating the two items at that edge fails to appear. <TimToady> p: say «1 {2} 3».perl <lue> p: say qqw/1 {2} 3/ As seen here, it's seems to be specific to the «» construct, not the .perl of the quoteword list, nor even the qqw construct. Just the guillemets. Some non-closure examples: <TimToady> n: my $x = 2; say «1 '$x' 3» <lue> p: say «1 '2' 3» The fun starts here for reference: http://irclog.perlgeek.de/perl6/2013-11-04#i_7809016 |
From @usev6This works now as expected -- e.g.: $ perl6 -e 'my $x = 2; say «1 $x 3»' $ perl6 -e 'say «{4 + 2} 4+2»' I added a test to S02-literals/string-interpolation.t with commit Raku/roast@8e47b67 I'm closing this ticket as 'resolved'. |
1 similar comment
From @usev6This works now as expected -- e.g.: $ perl6 -e 'my $x = 2; say «1 $x 3»' $ perl6 -e 'say «{4 + 2} 4+2»' I added a test to S02-literals/string-interpolation.t with commit Raku/roast@8e47b67 I'm closing this ticket as 'resolved'. |
@usev6 - Status changed from 'new' to 'resolved' |
Migrated from rt.perl.org#120449 (status was 'resolved')
Searchable as RT120449$
The text was updated successfully, but these errors were encountered: