Jadpo is experimental and not ready for production. These docs follow the compiler's main branch as of 30 Oct 2026. What's built · Install 0.1.0
jadpo
Reference: Logic

Logic · rule

type.match_arm_value

Match arm gives no value.

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

example
action notify(outcome: PaymentOutcome) -> Unit {}action receipt(outcome: PaymentOutcome) -> ReceiptId? {    return match outcome {        PaymentOutcome.pending -> none        PaymentOutcome.paid -> {            notify(outcome)        }    }}
text
error: This arm gives no value --> main.jadpo:6:9  |6 |         PaymentOutcome.paid -> {  |         ^^^^^^^^^^^^^^^^^^^^^^^^ ends without a value  reason: A `match` used as a value gives one from every arm: an expression, `reject` or `propagate`; this block can reach its end without leaving.  next: Write the arm's value after `->`, or end the block with `return` or `reject` (agent)  rule: type.match_arm_value  help: https://jadpo.dev/docs/errors/type.match_arm_valuecheck failed: 1 error, 2 files

Markdown for agents: /docs/errors/type.match_arm_value.md.Built from Jadpo main at a707efb.