Skip Menu |
Report information
Id: 118467
Status: resolved
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: masak <cmasak [at] gmail.com>
Cc:
AdminCc:

Severity: (no value)
Tag:
  • Bug
  • testcommitted
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Subject: [BUG] Required named occurring before slurpy wrongly considered a multi candidate in Rakduo
Date: Thu, 13 Jun 2013 13:27:27 +0200
To: rakudobug [...] perl.org
From: Carl Mäsak <cmasak [...] gmail.com>
Download (untitled) / with headers
text/plain 462b
<masak> rn: multi foo(:$d!, *@f) {}; multi foo(*@f) { say "works" }; foo() #OK <camelia> rakudo b2072f, niecza v24-75-g480a062: OUTPUT«works␤» <masak> rn: multi foo(*@f, :$d!) {}; multi foo(*@f) { say "works" }; foo() #OK <camelia> niecza v24-75-g480a062: OUTPUT«works␤» <camelia> ..rakudo b2072f: OUTPUT«Ambiguous call to 'foo'; these signatures all match:␤:(*@f, :d(:$d)!)␤:(*@f) [...]» * masak submits rakudobug Niecza has it right both times.
RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 179b
There already was a (skipped) test for this bug in S06-multi/positional-vs-named.t I added a reference to this ticket with commit https://github.com/perl6/roast/commit/d397bca9f2
RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 283b
On Sun Sep 13 11:39:56 2015, bartolin@gmx.de wrote: Show quoted text
> There already was a (skipped) test for this bug in S06- > multi/positional-vs-named.t > > I added a reference to this ticket with commit > https://github.com/perl6/roast/commit/d397bca9f2
Fixed the issue and unfudged the test.


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