Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't expect .numerator to be set in DivByZero exceptions.
BDFL's blessing: http://colabti.org/irclogger/irclogger_log/perl6-dev?date=2018-09-21#l248 We no longer carry that information. The 420 test was also wrong from the start as it used `isa-ok` instead of just `is`. The test in question specs a tiny portion of the behaviour of ZDRs (Zero Denominator Rationals), and the spec does not concern itself with any of the other behaviours. Some of those turned out to be buggy and were fixed. Others, are still buggy and need fixing. While a certain fix is possible while maintaing this test in passing state, that fix inflicts a non-trivial performance penalty on many operations on *all* Rationals. Therefore, I argue the 6.c spec is wrong to spec the behaviour of ZDRs in such a sparse manner, without any regard to how an implementation can meet the goals of this particular test, while maintaining bug-free behaviour of ZDRs. Ergo, the test is wrong and shall be removed.
- Loading branch information