# KEXEP-0007: MainBlockInBlockModule

- Severity: error
- Stage: Parse
- Message: `'main' blocks are not allowed inside block modules`
- Slots: none
- Page: https://oops.kex.run/KEXEP-0007/

The compiler reports it as:

```
file.kex:LINE:COLUMN: [KEXEP-0007]: Error, 'main' blocks are not allowed inside block modules
```

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