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

failure.outcome_success_duplicate

Outcome match repeats its success arm.

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

example
function duplicate_success(key: LookupKey) -> LookupResult {    return match lookup(key) {        success(value) -> value        success(other) -> other        LookupMissing -> "missing"        LookupRefused -> "refused"    }}
text
error: The success arm is written twice --> main.jadpo:4:9  |3 |         success(value) -> value  |         -------------- first matched here4 |         success(other) -> other  |         ^^^^^^^^^^^^^^ matched again  reason: A call succeeds one way, so one `success(...)` arm takes its value; this one would never run.  next: Remove this arm, or merge its body into the first (agent)  rule: failure.outcome_success_duplicate  help: https://jadpo.dev/docs/errors/failure.outcome_success_duplicatecheck failed: 1 error, 2 files

Markdown for agents: /docs/errors/failure.outcome_success_duplicate.md.Built from Jadpo main at a707efb.