Project layout and modules · rule
import.unknown
Import names nothing in its folder.
Area 1, Project layout and modules; not declinable; the next step is usually the agent's.
A use line names a domain, a folder of a domain or of shared/, or a
root file, and only names that are there. A name imported from the wrong
folder gets the edit that moves it:
use shared/failures { Stock }action stock_loaf(each: Stock) -> Stock { return each}
error: `Stock` isn't in `shared/failures` --> domains/bakery/actions/stock_loaf.jadpo:1:23 |1 | use shared/failures { Stock } | ^^^^^ not in this folder reason: A `use` line brings in names from the folder it names; `Stock` is a type in `shared/types/stock.jadpo`, so it comes in from `shared/types`. next: Import `Stock` from `shared/types` (agent) rule: import.unknown help: https://jadpo.dev/docs/errors/import.unknowncheck failed: 1 error, 3 files
Markdown for agents: /docs/errors/import.unknown.md.Built from Jadpo main at a707efb.