Project layout and modules · rule
import.missing
Name used without its import.
Area 1, Project layout and modules; not declinable; the next step is usually the agent's.
Every name a file uses that it doesn't declare comes in on a use line
(see Imports). The edit adds it, and jadpo fmt adds every
missing import at once:
action stock_loaf(each: Stock) -> Stock { return each}
error: `Stock` isn't imported --> domains/bakery/actions/stock_loaf.jadpo:1:25 |1 | action stock_loaf(each: Stock) -> Stock { | ^^^^^ not imported reason: Every name a file uses that it doesn't declare comes in on a `use` line, so a reader sees where it lives; `Stock` is a type in `shared/types/stock.jadpo`. next: Add `use shared/types { Stock }`, or run `jadpo fmt`, which adds every missing import (agent) rule: import.missing help: https://jadpo.dev/docs/errors/import.missingcheck failed: 1 error, 3 files
Markdown for agents: /docs/errors/import.missing.md.Built from Jadpo main at a707efb.