Skip Menu |
Report information
Id: 133762
Status: open
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: daxim <daxim [at] cpan.org>
Cc:
AdminCc:

Severity: (no value)
Tag: testneeded
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Subject: Quanthashes should be parameterizable
Download (untitled) / with headers
text/plain 611b
› rpm -qi rakudo | rg Version Version : 2018.12 subset Foo of Str where .chars > 0; my SetHash of Foo %f; %f.elems.say; SetHash cannot be parameterized subset Foo of Str where .chars > 0; subset Foo-SetHash of SetHash where $_ ~~ Foo; my Foo-SetHash $f; $f.elems.say; Invocant of method 'elems' must be an object instance of type 'Setty', not a type object of type 'Foo-SetHash'. Did you forget a '.new'? subset Foo of Str where .chars > 0; subset Foo-SetHash of SetHash where $_ ~~ Foo; my $f = Foo-SetHash.new; $f.elems.say; You cannot create an instance of this type (Foo-SetHash)
Date: Sun, 13 Jan 2019 22:03:18 +0100
Subject: Re: [perl #133762] Quanthashes should be parameterizable
From: Elizabeth Mattijsen <liz [...] dijkmat.nl>
To: perl6-compiler [...] perl.org, "Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 (via RT)" <perl6-bugs-followup [...] perl.org>
Fixed for Set/SetHash with https://github.com/rakudo/rakudo/commit/4bb5c33c72 Show quoted text
> On 10 Jan 2019, at 18:22, Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 (via RT) <perl6-bugs-followup@perl.org> wrote: > > # New Ticket Created by Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 > # Please include the string: [perl #133762] > # in the subject line of all future correspondence about this issue. > # <URL: https://rt.perl.org/Ticket/Display.html?id=133762 > > > > › rpm -qi rakudo | rg Version > Version : 2018.12 > > subset Foo of Str where .chars > 0; > my SetHash of Foo %f; > %f.elems.say; > > SetHash cannot be parameterized > > subset Foo of Str where .chars > 0; > subset Foo-SetHash of SetHash where $_ ~~ Foo; > my Foo-SetHash $f; > $f.elems.say; > > Invocant of method 'elems' must be an object instance of type 'Setty', not a type object of type 'Foo-SetHash'. Did you forget a '.new'? > > subset Foo of Str where .chars > 0; > subset Foo-SetHash of SetHash where $_ ~~ Foo; > my $f = Foo-SetHash.new; > $f.elems.say; > > You cannot create an instance of this type (Foo-SetHash)
To: perl6-bugs-followup [...] perl.org
Subject: Re: [perl #133762] Quanthashes should be parameterizable
From: Elizabeth Mattijsen <liz [...] dijkmat.nl>
Date: Mon, 14 Jan 2019 19:19:47 +0100
Download (untitled) / with headers
text/plain 1.3k
Fixed for Bag/BagHash with https://github.com/rakudo/rakudo/commit/fe38bdba62 Fixed for Mix/MixHash with https://github.com/rakudo/rakudo/commit/bcc8054a4d Show quoted text
> On 13 Jan 2019, at 22:03, Elizabeth Mattijsen via RT <perl6-bugs-followup@perl.org> wrote: > > Fixed for Set/SetHash with https://github.com/rakudo/rakudo/commit/4bb5c33c72 >
>> On 10 Jan 2019, at 18:22, Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 (via RT) <perl6-bugs-followup@perl.org> wrote: >> >> # New Ticket Created by Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 >> # Please include the string: [perl #133762] >> # in the subject line of all future correspondence about this issue. >> # <URL: https://rt.perl.org/Ticket/Display.html?id=133762 > >> >> >> › rpm -qi rakudo | rg Version >> Version : 2018.12 >> >> subset Foo of Str where .chars > 0; >> my SetHash of Foo %f; >> %f.elems.say; >> >> SetHash cannot be parameterized >> >> subset Foo of Str where .chars > 0; >> subset Foo-SetHash of SetHash where $_ ~~ Foo; >> my Foo-SetHash $f; >> $f.elems.say; >> >> Invocant of method 'elems' must be an object instance of type 'Setty', not a type object of type 'Foo-SetHash'. Did you forget a '.new'? >> >> subset Foo of Str where .chars > 0; >> subset Foo-SetHash of SetHash where $_ ~~ Foo; >> my $f = Foo-SetHash.new; >> $f.elems.say; >> >> You cannot create an instance of this type (Foo-SetHash)


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org