On Thu, 25 May 2017 09:51:53 -0700, c...@zoffix.com wrote:
> Something's fishy going on with .splice. It feels like a multi without
> any candidates.
> 
> I vaguely recall a commit going in adding splice proto to Mu, so
> perhaps that's the cause.
> 
> The error gives uninitialized string warning and the "none of these
> signatures match" message prints no candidates.
> 
> 
> zoffix@leliana~$ perl6 -v
> This is Rakudo version 2017.05-78-gdd2de36 built on MoarVM version
> 2017.05-24-gd86a35b
> implementing Perl 6.c.
> zoffix@leliana~$ perl6 -e 'Blob.new.splice: 42'
> Use of uninitialized value of type Any in string context.
> Methods .^name, .perl, .gist, or .say can be used to stringify it to
> something meaningful.
>   in block <unit> at -e line 1
> Cannot resolve caller splice(Blob, Int); none of these signatures
> match:
>   in block <unit> at -e line 1
> 
> zoffix@leliana~$


Thank you for the report. jsimonet++ fixed the issue.

Fix: https://github.com/rakudo/rakudo/commit/02614f6477
Test: https://github.com/rakudo/rakudo/commit/b667e818c5

Reply via email to