ErrorsValues and types · rule
type.reserved_field_name
Field uses a reserved name.
Area 2, Values and types; not declinable; the next step is usually the agent's.
type Flag = Bool {}type Settings = Object { optional: Flag}
error optional can't be a field's name
--> main.jadpo:4:5
|4 | optional: Flag | ^^^^^^^^ reserved
- reason
include,pick,omitandoptionalare lines that build a type's fields, so no field may take their names.- next
- Rename the field (agent)
- rule
- type.
reserved_ field_ name - help
- https://jadpo.
dev/docs/errors/type. reserved_ field_ name
Markdown for agents: /docs/errors/type.reserved_field_name.md.Built from Jadpo main at aee2e8f.