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

ErrorsValues and types · rule

type.enum_empty

Enum declares no variants.

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

example
type TicketStatus = Enum {}
jadpo checkcheck failed: 1 error, 1 file

error TicketStatus has no variants

--> main.jadpo:1:6

  |1 | type TicketStatus = Enum {}  |      ^^^^^^^^^^^^ an empty enum
reason
An enum is a closed list of named alternatives, so it needs at least one for a value to be.
next
Add the enum's variants, one name per line (agent)
rule
type.enum_empty
help
https://jadpo.dev/docs/errors/type.enum_empty

Markdown for agents: /docs/errors/type.enum_empty.md.Built from Jadpo main at aee2e8f.