Skip Menu |
Report information
Id: 125821
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: alex.jakimenko [at] gmail.com
Cc:
AdminCc:

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



From: Alex Jakimenko <alex.jakimenko [...] gmail.com>
Subject: LTA error message when doing .rotate(Inf)
To: rakudobug [...] perl.org
Date: Sat, 15 Aug 2015 08:26:55 +0300
Download (untitled) / with headers
text/plain 376b
Code:
say <a b c d e>.rotate(Inf);

Result:
Earlier failures:
 No zero-arg meaning for infix:<%>
  in block <unit> at ./test.pl:2

Final error:
 Cannot call Real(Failure: ); none of these signatures match:
    (Mu:U \v: *%_)
  in block <unit> at ./test.pl:2


Same problem with NaN and -Inf.

Somewhat similar bug report: https://rt.perl.org/Public/Bug/Display.html?id=125818
It is better now, but still LTA:

This type cannot unbox to a native integer: P6opaque, Failure
  in block <unit> at -e line 1


On 2015-08-14 22:27:20, alex.jakimenko@gmail.com wrote:
Show quoted text
> Code:
> say <a b c d e>.rotate(Inf);
>
> Result:
> Earlier failures:
> No zero-arg meaning for infix:<%>
> in block <unit> at ./test.pl:2
>
> Final error:
> Cannot call Real(Failure: ); none of these signatures match:
> (Mu:U \v: *%_)
> in block <unit> at ./test.pl:2
>
>
> Same problem with NaN and -Inf.
>
> Somewhat similar bug report:
> https://rt.perl.org/Public/Bug/Display.html?id=125818




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