# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev
# Please include the string: [perl #130513]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130513 >
Code:
my @a[2;2]; say @a.List
Result (2015.12,2016.06):
((Any)
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev
# Please include the string: [perl #130511]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130511 >
Code:
&::(‘½’)
Result (2015.12,2016.11):
No such symbol '&::½'
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev
# Please include the string: [perl #130510]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130510 >
Code:
my @c[2;2] .= new(:shape(2, 2), , )'
Result
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev
# Please include the string: [perl #130509]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130509 >
Code:
my $x = fail
Result (2015.12,2016.05):
Failed
in block at
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev
# Please include the string: [perl #130508]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130508 >
First, two examples:
Code:
say “5” ~~ /<[\5]>/
Result:
「5」
Code:
# New Ticket Created by Michael Schaap
# Please include the string: [perl #130507]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130507 >
for ^10 -> $i {
once { say "This runs." }
say $i;
once
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev
# Please include the string: [perl #130506]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130506 >
Code:
printf("%d, %d", 1);
Result:
Your printf-style directives
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev
# Please include the string: [perl #130505]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130505 >
Code:
BEGIN (1, 2)[*-1]
Result:
===SORRY!=== Error while compiling
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev
# Please include the string: [perl #130503]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130503 >
Code:
my @x; say @x»[0]
Result:
This type (Scalar) does not support
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev
# Please include the string: [perl #130502]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130502 >
Code:
say Buf.new('0')
Result:
Type check failed in initializing
# New Ticket Created by Wenzel Peppmeyer
# Please include the string: [perl #130501]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130501 >
use MONKEY-TYPING; augment class Bool { method m { say 'oi‽' } }; (1 < 2).m
# It's
per jnthn++ https://irclog.perlgeek.de/perl6-dev/2017-01-04#i_13854591
Turns out this is not a bug, but a consequence of arrays itemizing their
contents. You can still use the array, but you need to ».list on it it to
de-itemize the contents; same with `zip`:
m: my @l = (0,1,2),(3,4,5),(6,7);
On IRC I said this was a bug, because the behaviour seemed so surprising, but
now that I made a fix for it (diff attached), I find breakage in
t/spec/S03-metaops/zip.t and t/spec/S32-container/roundrobin.t that test for
what I see is a contradictory (to this ticket) behaviour for RT#126522.
# New Ticket Created by Zoffix Znet
# Please include the string: [perl #130500]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130500 >
See https://irclog.perlgeek.de/perl6-dev/2017-01-04#i_13854039
We had a user who's using
# New Ticket Created by Michael Schaap
# Please include the string: [perl #130498]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130498 >
my @l = (0,1,2),(3,4,5),(6,7);
say roundrobin(|@l);
outputs
(((0 1 2)
On Fri, 08 Apr 2016 14:45:30 -0700, grond...@yahoo.fr wrote:
> IRC extract from today:
>
> 23:35 < grondilu> m: my MixHash $a .= new; my MixHash $b = $a.clone;
> $a++; dd $b;
> 23:35 <+camelia> rakudo-moar 40a953: OUTPUT«MixHash $b =
> ("foo"=>1).MixHash»
Thank you for the report. This is now
16 matches
Mail list logo