mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 21:30:12 +01:00
Iterate over arrays by producing their elements in the obvious way. We use `i32` as the cursor type because that's the type that check converts array indexes to. This may need revisiting if we support arrays with more than 2Bi elements. Also includes a fix for an import crash bug that's triggered by this change, borrowed from #5873.