Values and types · rule
type.base_outside_declaration
Base is used outside a type declaration.
Area 2, Values and types; not declinable; the next step is usually the agent's.
There is no unnamed object: Object, Enum, Input and Output appear only after = (question 19):
type Basket = Object { details: Object}
error: `Object` is used as a type --> main.jadpo:2:14 |2 | details: Object | ^^^^^^ only a base reason: `Object` is written only after `=` in a `type` declaration; every shape has a name, so a field or signature names that type. next: Declare `type Name = Object { ... }` and use its name here (agent) rule: type.base_outside_declaration help: https://jadpo.dev/docs/errors/type.base_outside_declarationcheck failed: 1 error, 1 file
Markdown for agents: /docs/errors/type.base_outside_declaration.md.Built from Jadpo main at a707efb.