I spent quite some time debugging and scratching my head over a misterious bug that I narrowed down to the fact that I was unable to assign an element in an Array:
if (array[i].field == something)
array[i].otherfield = whatever;
I found the assigment simply doesn’t work, ok so, I could live with that, but I really expected a warning or compiler error here.
Would it be possible to catch that pitfall with some warning?