Jadpo is experimental and not ready for production. These docs follow the compiler's main branch as of 5 Nov 2026. What's built · Install 0.3.0
jadpo
ReferenceErrors

ErrorsLogic · rule

syntax.match_arrow

Match arm uses =>.

Area 3, Logic; not declinable; the next step is usually the agent's.

example
type TicketStatus = Enum {    open    closed}type Rank = Int {    min: 1}function rank(status: TicketStatus) -> Rank {    return match status {        TicketStatus.open => 1        TicketStatus.closed -> 2    }}
jadpo checkcheck failed: 1 error, 1 file

error Jadpo writes ->, not =>

--> main.jadpo:12:27

   |12 |         TicketStatus.open => 1   |                           ^^ write `->`
reason
=> ends a match arm's pattern in Rust, Scala, C# and PHP; a Jadpo arm uses ->, the same arrow as a result type.
next
Use -> instead of => (agent)
rule
syntax.match_arrow
help
https://jadpo.dev/docs/errors/syntax.match_arrow

Markdown for agents: /docs/errors/syntax.match_arrow.md.Built from Jadpo main at aee2e8f.