# E0235

`for` over a value that is not a `List` or a range.

**Machine-applicable fix:** none.

## Example

This program fails with `E0235`.

```oska
fn main() {
    for i in 5 {
        let j = i
    }
}
```

## Fixed

The same program, fixed.

```oska
fn main() {
    for i in 0..5 {
        let j = i
    }
}
```

Listed in the [checker notes](/checker.md#e0235). `oskac explain E0235` prints this entry offline.