# E0111

A `self` or `var self` receiver that is not the first parameter.

**Machine-applicable fix:** none.

## Example

This program fails with `E0111`.

```oska
struct Counter { count: Int }

impl Counter {
    fn add(n: Int, self) -> Int {
        self.count + n
    }
}
```

## Fixed

The same program, fixed.

```oska
struct Counter { count: Int }

impl Counter {
    fn add(self, n: Int) -> Int {
        self.count + n
    }
}
```

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