[perl #131858] [REGRESSION] default $.nl-in on IO::Handle does not correctly work in subclasses

2018-04-07 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
There's now a regression test in https://github.com/perl6/roast/commit/a7af87465e0dc593f4e008d6dcfe077f1bbff0f1 Closing (but please take a look at that roast commit) On 2018-03-11 13:11:21, jan-olof.hen...@bredband.net wrote: > On Tue, 08 Aug 2017 04:19:24 -0700, elizabeth wrote: > > reverted c63

[perl #131623] [BUG] Range + detached method + map with &sub = "Cannot find method 'count' on object of type NQPMu"

2018-04-07 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
A test for this issue was already added in https://github.com/rakudo/rakudo/commit/f3efe5e6b4a9ee5#diff-2aaee6bee3c5525182362ffdcbea1f2cR14 Closing. On 2018-03-10 16:40:40, jan-olof.hen...@bredband.net wrote: > On Thu, 22 Jun 2017 05:25:08 -0700, c...@zoffix.com wrote: > > A WhateverCode detached

[SPAM:##] [perl #126014] Too many repetitions with xx operator causes out of memory; should it work lazily?

2018-04-07 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Tests in https://github.com/perl6/roast/commit/b320464868d3b8da98c090ddc4b0d57604683e13 Closing On 2018-03-10 11:25:06, jan-olof.hen...@bredband.net wrote: > On Wed, 22 Feb 2017 03:59:05 -0800, elizabeth wrote: > > > On 22 Feb 2017, at 12:41, jn...@jnthn.net via RT > > follo...@perl.org> wrote:

[perl #126312] [BUG] `for @a` is not creating containers for uninitialized elements

2018-04-07 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Tests added in https://github.com/perl6/roast/commit/d78f33966cf6a6ec6bc060d98dfc521ad59b6f75 Closing On 2018-02-06 14:12:56, jan-olof.hen...@bredband.net wrote: > On Sat, 07 May 2016 13:26:09 -0700, sml...@gmail.com wrote: > > Confirmed on current Rakudo. > > > > Interestingly, it works if `for

[SPAM:##] [perl #132030] [TESTNEEDED] [REGRESSION] Broken Text::CSV tests and possibly other ecosystem fallout (buffering)

2018-04-07 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Tests added in https://github.com/perl6/roast/commit/40edf6d2c939fe095a848056db3489d7b1482a8a I think we can close this. On 2017-09-16 19:58:20, alex.jakime...@gmail.com wrote: > Two of the mentioned modules have pending pull requests that add > missing .close > calls in tests. NCurses module is

[perl #130941] infix: keeps containers around since October, resulting in confusing behaviour

2018-04-07 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Tests in https://github.com/perl6/roast/commit/1a42efd4ce0fdc695b16bbf64af92ecf0bca1866 On 2018-03-10 10:43:14, alex.jakime...@gmail.com wrote: > This ticket now needs tests, further discussion related issues here: > https://github.com/rakudo/rakudo/issues/1607 > > On 2017-03-08 05:56:13, c...@zof

Re: Using HashBags

2018-04-07 Thread Siavash
Hi, Don't know if there is a better way, but assuming you don't have control over the data, you can do this: my Bag $docents = @rows.map(*.pairup).Bag; On 2018-04-07 10:10:52 GMT, mimosinnet wrote: > Hi all, > > I do not seem to be able to get this done with the Bag or BagHash > type: > > --- >

[perl #129142] [BUG] Parse error when coercing an enum from a coercion of an enum from an int

2018-04-07 Thread Jan-Olof Hendig via RT
On Fri, 16 Mar 2018 16:02:15 -0700, jan-olof.hen...@bredband.net wrote: > On Tue, 30 Aug 2016 16:30:24 -0700, allber...@gmail.com wrote: > > I think the problem is that there's already another syntax using that > > sequence: coercion types. FF(FF(2)) is being parsed as a coercion > > type from > >

[perl #126490] [BUG] Control exception handling is inconsistent and broken across backends. (SEGV on moar, CX unrecognized on jvm)

2018-04-07 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Segfault mentioned above is already tested and the test was unfudged in https://github.com/perl6/roast/commit/ef7b0da83d#diff-72b101ff62a0582672d4de2788ffa1bbL77 Closing On 2018-03-12 08:29:49, jan-olof.hen...@bredband.net wrote: > On Mon, 16 Oct 2017 13:04:48 -0700, barto...@gmx.de wrote: > > On

[SPAM:##] [perl #130505] [LTA] double SORRY (BEGIN (1, 2)[*-1])

2018-04-07 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Tests in https://github.com/perl6/roast/commit/79dff96fc9f383616dd192ef016725395323887b and https://github.com/perl6/roast/commit/82d3a883a52af23c8a67e46b88b313b3cf20b18d On 2018-03-10 06:26:00, jan-olof.hen...@bredband.net wrote: > On Wed, 04 Jan 2017 15:02:45 -0800, alex.jakime...@gmail.com wrot

Re: Using HashBags

2018-04-07 Thread Fernando Santagata
Hi, I'm not sure that I've understood what you need. If you get that array of arrays from a another process @rows and you wish to convert it into a Bag you can do this: my @rows = [["JF", 1], ["JF", 2], ["MM", 2], ["MPu", 2], ["MM", 2], ["FE", 2], ["FV", 2], ["MPu", 2], ["JP", 2], ["JP", 2], ["FV

[perl #126318] [BUG] trait 'is default' on attributes has no effect

2018-04-07 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Tests in https://github.com/perl6/roast/commit/ce1a5a2e6b5b199c0df69a83cf66f1b830ee47e8 and https://github.com/perl6/roast/commit/38c9dc5fd5339ed434438eb58bae07e7fdd31a1d Closing. On 2018-03-12 06:59:31, jan-olof.hen...@bredband.net wrote: > On Wed, 13 Sep 2017 19:17:16 -0700, b...@abrij.org wrot

[perl #133082] LTA: precedence error !%foo:exists

2018-04-07 Thread via RT
# New Ticket Created by Martin Barth # Please include the string: [perl #133082] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=133082 > Hello, IMHO the error could be better: perl6 -e 'my %foo = ; say !%foo:exists' Unexpec

Using HashBags

2018-04-07 Thread mimosinnet
Hi all, I do not seem to be able to get this done with the Bag or BagHash type: --- dd @rows; Output: Array @rows = [["JF", 1], ["JF", 2], ["MM", 2], ["MPu", 2], ["MM", 2], ["FE", 2], ["FV", 2], ["MPu", 2], ["JP", 2], ["JP", 2], ["FV", 2], ["FV", 2], ["JF", 2], ["MM", 2], ["MPu", 2], ["MM"