On 13 Mar 2011, at 14:02, Alexander Klenin wrote:

> 1) In the current implementation, FPC should at least warn on attempt
> to change for..in loop variable
> (I assumed that since it compiles, it works, and it cost me much time
> to debug this)

It is forbidden when you use regular for-loops (except for in TP mode for 
compatibility). It's a bug that it is allowed for for-in loops, so please file 
a bug report.


Jonas_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to