ErrorsValues and types · rule
type.constraint_repeated
Constraint is given twice.
Area 2, Values and types; not declinable; the next step is usually the agent's.
type Nickname = Text { max_length: 20 max_length: 30}
error max_length is given twice
--> main.jadpo:3:5
|2 | max_length: 20 | ---------- first given here3 | max_length: 30 | ^^^^^^^^^^ given again
- reason
- Each setting is given once, so there is never a question of which one counts.
- next
- Remove one
max_length(agent) - rule
- type.
constraint_ repeated - help
- https://jadpo.
dev/docs/errors/type. constraint_ repeated
Markdown for agents: /docs/errors/type.constraint_repeated.md.Built from Jadpo main at aee2e8f.