# KEXEP-0158: DoAfterIfCondition

- Severity: error
- Stage: Parse
- Message: `` use 'then' instead of 'do' in if expression: `if cond then body end` ``
- Slots: none
- Page: https://oops.kex.run/KEXEP-0158/

The compiler reports it as:

```
file.kex:LINE:COLUMN: [KEXEP-0158]: Error, use 'then' instead of 'do' in if expression: `if cond then body end`
```

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