# `syntax.unexpected_token`

Something else was expected here.

Area 1, [Project layout and modules](../topics/project-layout-and-modules.md); not declinable; the next step is usually the agent's.

```jadpo
type Count = Int {
    min: 0
}

function f(x: Count -> Count {
    return x
}
```

```text
error: This parameter list isn't closed
 --> main.jadpo:5:21
  |
5 | function f(x: Count -> Count {
  |                     ^^ expected `)` before `->`
  |           - opened here
  reason: The parameters end with `)`, before `fails`, `->` or the body.
  next: Add `)` after `Count` (agent)
  rule: syntax.unexpected_token
  help: https://jadpo.dev/docs/errors/syntax.unexpected_token

check failed: 1 error, 1 file
```
