# KEXEP-0118: AmpFunctionCapture

- Severity: error
- Stage: Parse
- Message: `` `&{name}` is no longer valid: write `~{name}` to capture a named function ('&' is receiver shorthand only, as in `&.method`) ``
- Slots: `name`
- Page: https://oops.kex.run/KEXEP-0118/

The compiler reports it as:

```
file.kex:LINE:COLUMN: [KEXEP-0118]: Error, `&{name}` is no longer valid: write `~{name}` to capture a named function ('&' is receiver shorthand only, as in `&.method`)
```

No explanation of this code has been written yet. The message above is all the compiler says about it.
