We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Migrated from rt.perl.org#128173 (status was 'new')
Searchable as RT128173$
The text was updated successfully, but these errors were encountered:
When .polymod on an Int invocan is called with a non-Int divisor, the error message is very confusing, since there's no `div` in user's code:
$ perl6 -e 'say 42.polymod: 1.5' Cannot call infix:<div>(Int, Rat); none of these signatures match: (Int:D \a, Int:D \b) (int $a, int $b --> int) in block <unit> at -e line 1
It should instead point out that the user needs to coerce the invocant to Num or Rat for the non-Int divisors to work.
Sorry, something went wrong.
The fix for this kinda depends on how https://rt-archive.perl.org/perl6/Ticket/Display.html?id=128428#ticket-history will get resolved.
No branches or pull requests
Migrated from rt.perl.org#128173 (status was 'new')
Searchable as RT128173$
The text was updated successfully, but these errors were encountered: