ErrorsProject layout and modules · rule
syntax.unexpected_token
Something else was expected here.
Area 1, Project layout and modules; not declinable; the next step is usually the agent's.
type Count = Int { min: 0}function f(x: Count -> Count { return x}
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
), beforefails,->or the body. - next
- Add
)afterCount(agent) - rule
- syntax.
unexpected_ token - help
- https://jadpo.
dev/docs/errors/syntax. unexpected_ token
Markdown for agents: /docs/errors/syntax.unexpected_token.md.Built from Jadpo main at aee2e8f.