Logic · rule
type.argument_count
Call has the wrong number of arguments.
Area 3, Logic; not declinable; the next step is usually the agent's.
type Name = Text {}function choose(first: Name, second: Name) -> Name { return first}function incomplete(name: Name) -> Name { return choose(name)}
error: `choose` takes 2 values, not 1 --> main.jadpo:8:18 |8 | return choose(name) | ^^^^^^ 1 given reason: `choose(first: Name, second: Name)` has 2 parameters; each is given, in order, and none has a default. next: Pass `second` as well (agent) rule: type.argument_count help: https://jadpo.dev/docs/errors/type.argument_countcheck failed: 1 error, 1 file
Markdown for agents: /docs/errors/type.argument_count.md.Built from Jadpo main at a707efb.