[perl #126702] [JVM] failing test in S06-multi/subsignature.t: wrong multi candidate called when slurpy and named are passed
[email protected] ("Christian Bartolomaeus via RT") Sat, 10 Mar 2018 09:48:52 -0800
| Newsgroups | perl.perl6.compiler |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 27 Jan 2018 17:19:18 -0800, [email protected] wrote: > On Sat, 21 Nov 2015 06:12:07 -0800, [email protected] 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?