Bug Tracker

Opened 5 years ago

Closed 5 years ago

#14497 closed bug (duplicate)

index passed as first argument to iterator in each

Reported by: daytonn@… Owned by:
Priority: undecided Milestone: None
Component: core Version: 2.0.3
Keywords: Cc:
Blocked by: Blocking:

Description

This is not expected behavior. When I call each, i mean to iterate over the items in the collection, not their indices. If I wanted to access the index, I would expect it as the second argument to the iterator.

Change History (1)

comment:1 Changed 5 years ago by gibson042

Component: unfiledcore
Resolution: duplicate
Status: newclosed

Duplicate of #12566.

Note: See TracTickets for help on using tickets.