l.s.
Can't push/unshift onto an array of pairs!
Below a repl session with pushes
my @p = a => 1, b => 2;
a => 1 b => 2
@p.push(x=>1);
a => 1 b => 2
my Pair @p = a => 1, b => 2;
a => 1 b => 2
@p.push(x=>1);
a => 1 b => 2
my Array $p = [ a => 1, b => 2];
a => 1 b => 2
$p.push(x=>1);
# New Ticket Created by Ron Schmidt
# Please include the string: [perl #125398]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=125398 >
>From irc
http://irclog.perlgeek.de/perl6/2015-06-13#i_10744864
12:16 mr_ron m: no st
On Sat, Jun 13, 2015 at 12:25 PM, mt1957 wrote:
> Can't push/unshift onto an array of pairs!
>
> Below a repl session with pushes
>
> my @p = a => 1, b => 2;
>>
> a => 1 b => 2
>
>> @p.push(x=>1);
>>
> a => 1 b => 2
>
That's not pushing a pair – that's pushing nothing (no positionals) with
a
# New Ticket Created by Elizabeth Mattijsen
# Please include the string: [perl #125400]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=125400 >
I’m sending this in as a rakudo bug because I think it is.
We have confusion abou
# New Ticket Created by Rob Hoelz
# Please include the string: [perl #125401]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=125401 >
See the attached test file; for example:
my @result = gather { take 'foo=bar'.split('='
Liz is right. If a construct causes a significant number of people to
make a mistake, it's a design flaw that needs to be fixed.
On 6/13/15, Elizabeth Mattijsen wrote:
> # New Ticket Created by Elizabeth Mattijsen
> # Please include the string: [perl #125400]
> # in the subject line of all futu
Hi Eirik,
I thought about this a bit longer. I've seen this before that typo's in
the named arguments can lead to things for which you think would happen
but they don't. proper testing should reveal this of course. But it
would also be nice that an error would be given by perl6 and we would
h
# New Ticket Created by Rob Hoelz
# Please include the string: [perl #125402]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=125402 >
The following fails with "This type cannot unbox to a native string":
my $s = 'foobar';
# New Ticket Created by Rob Hoelz
# Please include the string: [perl #125403]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=125403 >
See $subject. Reproducible by installing a fresh Rakudo on MoarVM, installing
panda, and p