View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000355 | LDMud 3.3 | LPC Language | public | 2005-01-30 08:47 | 2005-05-15 13:02 |
Reporter | menaures | Assigned To | |||
Priority | normal | Severity | trivial | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Fixed in Version | 3.3 | ||||
Summary | 0000355: ranged foreach is a no-op for __INT_MAX__ | ||||
Description | I know, kind of nit-picky to report this. Sorry about that. foreach(i : x..y) just doesn't do anything when y == __INT_MAX__. Although the behaviour is largely documented, I think that's actually a typo: "If <expr1> is less than <expr2>, the loop will terminate at once." It's supposed to be the other way around (<expr1> greater than <expr2>). Maybe add a note here that <expr2>==__INT_MAX__ doesn't work either? | ||||
Tags | No tags attached. | ||||
|
Easy to fix: corrected in 3.3.665. |
|
still happens for __INT_MIN__..__INT_MAX__ *runs away* |
|
You just _had_ to try that, do you? I should have known! :-) I have add an internal flag for this special case in 3.3.666. |
Date Modified | Username | Field | Change |
---|---|---|---|
2005-01-30 08:47 | menaures | New Issue | |
2005-01-31 02:34 |
|
Status | new => resolved |
2005-01-31 02:34 |
|
Fixed in Version | => 3.3 |
2005-01-31 02:34 |
|
Resolution | open => fixed |
2005-01-31 02:34 |
|
Assigned To | => lars |
2005-01-31 02:34 |
|
Note Added: 0000318 | |
2005-01-31 04:13 | menaures | Status | resolved => feedback |
2005-01-31 04:13 | menaures | Resolution | fixed => reopened |
2005-01-31 04:13 | menaures | Note Added: 0000319 | |
2005-01-31 23:25 |
|
Status | feedback => resolved |
2005-01-31 23:25 |
|
Resolution | reopened => fixed |
2005-01-31 23:25 |
|
Note Added: 0000321 | |
2005-05-15 13:02 |
|
Status | resolved => closed |