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

Constructor is not given exactly one value.

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

example
type Quantity = Int {    min: 1}function pair() -> Quantity {    return Quantity(1, 2)}
jadpo checkcheck failed: 1 error, 1 file

error Quantity(...) takes one value, not 2

--> main.jadpo:6:12

  |6 |     return Quantity(1, 2)  |            ^^^^^^^^^^^^^^ 2 given
reason
Constructing a Quantity checks one value against its rules.
next
Pass one value to Quantity(...) (agent)
rule
type.constructor_argument_count
help
https://jadpo.dev/docs/errors/type.constructor_argument_count

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