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

Owner: Nobody
Requestors: bartolin [at] gmx.de
Cc:
AdminCc:

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



Subject: [JVM] failing test in S06-multi/subsignature.t: wrong multi candidate called when slurpy and named are passed
Download (untitled) / with headers
text/plain 192b
The following code does not give the expected result ('2') on rakudo.jvm: $ perl6-j -e 'multi catch(| (*@all ) ) { 1 }; multi catch(| (*@all, :$really! ) ) { 2 }; say catch(0, 5, :!really)' 1
Download (untitled) / with headers
text/plain 547b
On Sat, 21 Nov 2015 06:12:07 -0800, bartolin@gmx.de wrote: Show quoted text
> The following code does not give the expected result ('2') on > rakudo.jvm: > > $ perl6-j -e 'multi catch(| (*@all ) ) { 1 }; multi catch(| (*@all, > :$really! ) ) { 2 }; say catch(0, 5, :!really)' > 1
Neither the mentioned test file nor the specific code example seem to fail on current Rakudo as well as the currently availabe camelia build (which is a92950fb4). With confirmation I'd request closing this ticket, as it refers to existing tests that used to fail but don't anymore.
RT-Send-CC: perl6-compiler [...] perl.org
On Sat, 27 Jan 2018 17:19:18 -0800, peschwa@gmail.com wrote: Show quoted text
> On Sat, 21 Nov 2015 06:12:07 -0800, bartolin@gmx.de wrote:
> > The following code does not give the expected result ('2') on > > rakudo.jvm: > > > > $ perl6-j -e 'multi catch(| (*@all ) ) { 1 }; multi catch(| (*@all, > > :$really! ) ) { 2 }; say catch(0, 5, :!really)' > > 1
> > > Neither the mentioned test file nor the specific code example seem to > fail on current Rakudo as well as the currently availabe camelia build > (which is a92950fb4). With confirmation I'd request closing this > ticket, as it refers to existing tests that used to fail but don't > anymore.
rakudo-j is still wrong (also tested with current HEAD (26522e8acd)): <bartolin> r: multi catch(| (*@all ) ) { 1 }; multi catch(| (*@all, :$really! ) ) { 2 }; say catch(0, 5, :!really) <camelia> rakudo-moar 65874b155: OUTPUT: «2␤» <camelia> ..rakudo-jvm a92950fb4: OUTPUT: «1␤» The test in S06-multi/subsignature.t is fudged todo, that's why the testfile passes. Maybe this comment was meant for a different ticket?


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