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: Standard library

Standard library · rule

type.reserved_variant_name

Variant is called all, which lists an enum's variants.

Area 19, Standard library; not declinable; the next step is usually the agent's.

.all lists every variant of an enum whose variants carry no data, so no enum declares a variant called all. A closed list whose code is all writes it with a trailing _, as Albania's lek is Currency.all_.

example
type Newsletter = Enum {    subscribed    all}
text
error: `all` can't be a variant of `Newsletter` --> main.jadpo:3:5  |3 |     all  |     ^^^ reserved  reason: `Newsletter.all` lists every variant of `Newsletter`, so no variant takes the name `all`.  next: Rename the variant (agent)  rule: type.reserved_variant_name  help: https://jadpo.dev/docs/errors/type.reserved_variant_namecheck failed: 1 error, 1 file

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