[Backport maintenance/3.2.x] Fix a crash in undefined-loop-variable
with enumerate()
#10026
This job succeeded
Loading
undefined-loop-variable
with enumerate()
#10026