Fix 'a..<b' usage after change to 'Num.Range' - #206
Conversation
|
This PR touches files which potentially affect the outcome of the tests of an exercise. This will cause all students' solutions to affected exercises to be re-tested. If this PR does not affect the result of the test (or, for example, adds an edge case that is not worth rerunning all tests for), please add the following to the merge-commit message which will stops student's tests from re-running. Please copy-paste to avoid typos. For more information, refer to the documentation. If you are unsure whether to add the message or not, please ping |
|
Edit: for now,
|
|
The tests fail because the |
1..<10is now aNum.Rangeinstead of anIter, which broke a few things in this package.This PR fixes this. For example,
(1..<10).map(...)becomes(1..<10).iter().map(...)(until perhaps the relevantIterfunctions get added toNum.Range).