loop requires item for index in from/to loop

Description

Consider the following code:

It throws this error:

But why? If I don't specifically require an item or index in my code, I shouldn't be forced to declare one. It's just unwanted noise in my code. If I want to just loop 100 times with no regard to which iteration I'm on, I should be allowed to do that.

Environment

None

Assignee

Unassigned

Reporter

Brad Wood

Priority

New

Labels

None

Fix versions

None
Configure