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: Values and types

Values and types · rule

type.unknown_enum_variant

Enum has no such variant.

Area 2, Values and types; not declinable; the next step is usually the agent's.

example
type TicketStatus = Enum {    open    closed}function reopen() -> TicketStatus {    return TicketStatus.opne}
text
error: `TicketStatus` has no variant `opne` --> main.jadpo:7:25  |7 |     return TicketStatus.opne  |                         ^^^^ not a variant  reason: `TicketStatus`'s variants are `open` and `closed`. Did you mean `open`?  next: Use `TicketStatus.open` (agent)  rule: type.unknown_enum_variant  help: https://jadpo.dev/docs/errors/type.unknown_enum_variantcheck failed: 1 error, 1 file

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