# E3026

A `with` pattern is only allowed immediately under an or-pattern.

## Erroneous example

```{literalinclude} /sources/error_codes/3026_error/top.mbt
:language: moonbit
```

## Suggestion

Combine the alternative that supplies defaults with another pattern using `|`.

```{literalinclude} /sources/error_codes/3026_fixed/top.mbt
:language: moonbit
```
