ErrorsProject layout and modules · rule
naming.round_trip
Name does not survive conversion to its file name.
Area 1, Project layout and modules; not declinable; the next step is usually the agent's.
type HTMLSnippet = Text { max_length: 2000}
error HTMLSnippet has consecutive capitals
--> main.jadpo:1:6
|1 | type HTMLSnippet = Text { | ^^^^^^^^^^^ reads back as `HtmlSnippet`
- reason
- A name must convert to its file name and back unchanged:
HTMLSnippetbecomeshtml_snippet.jadpo, which reads back asHtmlSnippet. - next
- Rename it
HtmlSnippet(agent) - rule
- naming.
round_ trip - help
- https://jadpo.
dev/docs/errors/naming. round_ trip
Markdown for agents: /docs/errors/naming.round_trip.md.Built from Jadpo main at aee2e8f.