Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error message when doing .rotate(Inf) #4481

Open
p6rt opened this issue Aug 15, 2015 · 2 comments
Open

error message when doing .rotate(Inf) #4481

p6rt opened this issue Aug 15, 2015 · 2 comments
Labels
LTA Less Than Awesome; typically an error message that could be better

Comments

@p6rt
Copy link

p6rt commented Aug 15, 2015

Migrated from rt.perl.org#125821 (status was 'new')

Searchable as RT125821$

@p6rt
Copy link
Author

p6rt commented Aug 15, 2015

From @AlexDaniel

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

@p6rt
Copy link
Author

p6rt commented Oct 2, 2017

From @AlexDaniel

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​:

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

@p6rt p6rt added the LTA Less Than Awesome; typically an error message that could be better label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LTA Less Than Awesome; typically an error message that could be better
Projects
None yet
Development

No branches or pull requests

1 participant