C# to Oxygene conversion bug

I imported some C# files to an Oxygene project. It converted code like

for (int i = 0; i < path.Length - B; i++)

to

for i: Integer := 0 to path.Length - B do

See that a -1 should had been added. Now I’m getting IndexOutOfRange exceptions… obviously.
This is a dangerous bug. I’ll have to check al the converted code…

Regards

Thanks, logged as bugs://68844: C# to Oxygene conversion bug

bugs://68844 got closed with status fixed.