Re: how do I match the next two characters?

2018-01-22 Thread ToddAndMargo
On Fri, Jan 19, 2018 at 12:29 AM, Todd Chester > wrote: On 01/18/2018 05:17 PM, mimosinnet wrote: The '?' is not necessary Indeed! I use `.*?` when I do not want the wild card to be "greedy" When I have a choice of using either, I a

[perl #127291] [BUG] temp fails to set hashes with non-string key type constraints

2018-01-22 Thread Zoffix Znet via RT
On Sat, 16 Jan 2016 13:33:45 -0800, rightf...@gmail.com wrote: > The following code: > > my %h{Pair}; > %h{a => 1} = 2; > temp %h = %h.clone; > > should succeed. However, it fails with the following error: > > > Type check failed in binding key; expected Pair but got Str > > Rakudo version: >

[perl #127291] [BUG] temp fails to set hashes with non-string key type constraints

2018-01-22 Thread Zoffix Znet via RT
On Sat, 16 Jan 2016 13:33:45 -0800, rightf...@gmail.com wrote: > The following code: > > my %h{Pair}; > %h{a => 1} = 2; > temp %h = %h.clone; > > should succeed. However, it fails with the following error: > > > Type check failed in binding key; expected Pair but got Str > > Rakudo version: >

Re: Memory leak with NativeCall

2018-01-22 Thread Elizabeth Mattijsen
This feels like a bug to me. So please make report this as a potential issue, either by mailing rakudo...@perl.org, or by creating an issue on http://github.com/rakudo/rakudo . Thank you! > On 22 Jan 2018, at 01:24, David E. wrote: > > I'm not certain where to report this (ie: rakudo vs Moar

Re: Memory leak with NativeCall

2018-01-22 Thread David E.
It looks like the String may not be at fault - changing the argument to an int32 pointer results in the same memory leak. In either case, the variable is allocated on the static in the C function and would be automatically freed when the function returns, so the problem has to be some temporary at

[perl #132742] [BUILD] FreeBSD and OpenBSD Builds now dependent on gmake

2018-01-22 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
This was fixed, for more info see this still-open issue: https://github.com/rakudo/rakudo/issues/1420 On 2018-01-19 07:36:32, steve.myn...@gmail.com wrote: > Both builds are broken see #132741 but I believe the change to make > these builds dependent on gmake isn't neccessary. > > None of the Make

[perl #132741] [BUILD] Broken on FreeBSD and OpenBSD

2018-01-22 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
This was fixed, for more info see this still-open issue: https://github.com/rakudo/rakudo/issues/1420 On 2018-01-19 07:30:48, steve.myn...@gmail.com wrote: > MoarVM build broken on FreeBSD 11 and OpenBSD 6.2 > > .. > > Configuring and building MoarVM ... > /usr/local/bin/perl5 Configure.pl --optim

[perl #128712] [LTA] quote colon form in identifier lacks line number

2018-01-22 Thread Zoffix Znet via RT
On Sat, 23 Jul 2016 16:49:44 -0700, gfldex wrote: > my $i = 42; my $foo:bar«$i»; > # OUTPUT: > #===SORRY!=== > #QAST::Var with scope '' NYI > # > #shell returned 1 Thank you for the report. This is now fixed in branch `post-release`. Note that the variable needs to have compile-time value to be

[perl #128712] [LTA] quote colon form in identifier lacks line number

2018-01-22 Thread Zoffix Znet via RT
On Sat, 23 Jul 2016 16:49:44 -0700, gfldex wrote: > my $i = 42; my $foo:bar«$i»; > # OUTPUT: > #===SORRY!=== > #QAST::Var with scope '' NYI > # > #shell returned 1 Thank you for the report. This is now fixed in branch `post-release`. Note that the variable needs to have compile-time value to be