From the programmer's point of view the original code makes sense.A correct lowering would be:ubyte[256] data; for(ubyte i = 0;;++i) { ubyte x = data[i]; ... if(i==255) break; }
or:
ubyte[256] data;
foreach(ubyte i; 0..256) {
ubyte x = data[i];
}
