I confirmed that the reference implementation does support referencing a repeat variable in the same element as the repeat statement. So that means Malthe's proposed fix introduces another bug. This will require more help from Malthe to get the scoping right.
I confirmed that the reference implementation does support referencing a repeat variable in the same element as the repeat statement. So that means Malthe's proposed fix introduces another bug. This will require more help from Malthe to get the scoping right.