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.duplicate_field

Field is given twice.

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

A field is given once when a value is built, and declared once in a type:

example
type ProductName = Text {    max_length: 120}type Product = Object {    name: ProductName}function build_product(name: ProductName) -> Product {    return Product {        name: name        name: name    }}
jadpo checkcheck failed: 1 error, 1 file

error name is given twice

--> main.jadpo:12:9

   |11 |         name: name   |         ---- first given here12 |         name: name   |         ^^^^ given again
reason
Each field of Product is given once, so there is never a question of which value counts.
next
Remove one name (agent)
rule
type.duplicate_field
help
https://jadpo.dev/docs/errors/type.duplicate_field

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