Paul Ishenin wrote:
The next feature which we should think of is for-in loop: http://wiki.lazarus.freepascal.org/for-in_loop
At the moment implementation is almost complete and it is possible to test and review it (although many checks still needs to be added). It unites 2 approaches: delphi - search enumerators by symbol names and fpc - search using operators and method/property modifiers.
...
A branch to test is: http://svn.freepascal.org/svn/fpc/branches/paul/features
Enumerator tests are: tests\test\tforin1.pp ... tests\test\tforin7.pp
A brief explanation of how it works can be found here: http://wiki.lazarus.freepascal.org/for-in_loop#Proposed_implementation
If nobody want to test/review and nobody argue then maybe we can merge the changes? The changes are made so that they almost does not affect the other compiler/rtl code. Therefore there is no risk for the trunk compiler/rtl to be broken by that changes.

Best regards,
Paul Ishenin.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to