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
qqw{} and qqww{} flattening behaviour doesn't match #3681
Comments
From paul@liekut.deIt seems that although qqw{} and << >> are equivalent my $a = 42; they don't always behave the same. For instance: my $a = 42; say <<$a b c>>; # 42bc moritz++ used this on IRC: multi f(*@a) { say @a.elems }; multi f($one) { say 'one'}; f «b c»; f qqw{b c} and showed that the quoting constructs differ when there is a single-element multi candidate available. One would expect that these two constructs should behave in the same manner. |
From @MouqActually, it's qqww{} and << >> that are supposed to be equivalent. And they are when it comes to capture context: $ perl6 -e'my $a = 42; say <<$a b c>>;' It's less misleading to say that qqww{} and qqw{} don't flatten the same. On Thu Feb 12 04:25:15 2015, pcoch wrote:
|
The RT System itself - Status changed from 'new' to 'open' |
From @cokeOn Sun Mar 01 15:24:23 2015, Mouq wrote:
Current situation: 15:20 < jnthn> m: my $a = 42; say <<$a b c>>; 15:21 < jnthn> m: my $a = 42; say .WHAT for <<$a b c>>, qqww{$a b c}, qqw{$a b -- |
From @jnthnOn Tue Nov 17 12:23:28 2015, coke wrote:
Corrected that one that accidentally returned Array; tests in S02-literals/quoting.t. |
@jnthn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#123808 (status was 'resolved')
Searchable as RT123808$
The text was updated successfully, but these errors were encountered: