mppf1
1
20751, "mppf", "what should int - range do?", "2022-09-30T15:08:59Z"
Summary of Problem
I noticed that 1 - 1..10 has a strange result as compared to 1..10 - 1.
Steps to Reproduce
Source Code:
var r = 1..10;
writeln(r + 1); // ok: 2..11
writeln(1 + r); // ok: 2..11
writeln(r - 1); // ok: 0..9
writeln(1 - r); // huh? 0 -1 -2 -3 -4 -5 -6 -7 -8 -9
Associated Future Test(s):
TODO