Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix poor error with infix:<xx> with non-numeric Str
When '123aaa' is given, the Failure occurs inside the coercion, which we then attempt to store in a native int, triggering a bad error Fix by moving the coercer into the Num() multi, where such a Failure would explode in the .Int method. Fixes RT#130288: https://rt.perl.org/Ticket/Display.html?id=130288 P.S: this is probably a deeper issue with our coercers; IIRC there's a ticket that they don't check the final type.
- Loading branch information