Project 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 `use` line, listing every name the file takes from it; `use shared/types` is written twice. next: Move its names onto the first `shared/types` line (agent) rule: import.duplicate help: https://jadpo.dev/docs/errors/import.duplicatecheck failed: 1 error, 4 files
Markdown for agents: /docs/errors/import.duplicate.md.Built from Jadpo main at a707efb.