https://issues.dlang.org/show_bug.cgi?id=16149
Ketmar Dark <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Ketmar Dark <[email protected]> --- ...and, techincally, it shouldn't. first case (roughly) does: `int i; while (i < s.length) ...` which is perfectly legal. but second does: `int i = s.length;`, which requires conversion from `size_t` (of type `ulong` on 64-bit arch) to `int`, which is illegal. i'd say that first case should be forbidden too, but the seconds case -- in my opinion -- doesn't require fixing. --
