Parallel loop error

I’m trying to convert one loop to parallel with build 8.0.81.1667 but I get this error:
Error 1623 (E0) Internal error: Object reference not set to an instance of an object. 0 0

I reduced the loop to this:

 for parallel i := 0 to 10 do
    begin

    end;

and still getting the error.

Thanks, logged as bugs://70756: Parallel loop error

ah yes. That shouldn’t be allowed; due to how this parallelizes the i, the i must be defined as part of the loop:

for parallel i: Integer := 0 to 10 do

the next build will stop this from compiling.

bugs://70756 got closed as fixed for release Constitution Class

In that case, this page:

http://www.elementscompiler.com/elements/oxygene/language.aspx

Displays the wrong syntax in the section about parallel loops.

agreed.