ErrorsProject layout and modules · rule
import.duplicate
Name or folder imported twice.
Area 1, Project layout and modules; not declinable; the next step is usually the agent's.
use shared/types { Percent }use shared/types { Stock }action stock_loaf(each: Stock, reduction: Percent) -> Stock { return each}
error shared/types has two use lines
--> domains/bakery/actions/stock_loaf.jadpo:2:5
|1 | use shared/types { Percent } | ------------ first line2 | use shared/types { Stock } | ^^^^^^^^^^^^ a second line
- reason
- Each folder has one
useline, listing every name the file takes from it;use shared/typesis written twice. - next
- Move its names onto the first
shared/typesline (agent) - rule
- import.
duplicate - help
- https://jadpo.
dev/docs/errors/import. duplicate
Markdown for agents: /docs/errors/import.duplicate.md.Built from Jadpo main at aee2e8f.