Project layout and modules · rule
syntax.import_statement
Import written in another language's form.
Area 1, Project layout and modules; not declinable; the next step is usually the agent's.
A file brings names in with use <folder> { Names }; jadpo fmt writes those lines.
import { Count } from "./shared/types"function same(count: Count) -> Count { return count}
error: Jadpo writes `use`, not `import` --> main.jadpo:1:1 |1 | import { Count } from "./shared/types" | ^^^^^^ write `use` reason: `import … from` brings names into a JavaScript or TypeScript file, `from … import` into a Python module and `import a.b.C` into a Java or Kotlin file; a Jadpo file brings names in from a folder with `use <folder> { Names }`, and `jadpo fmt` writes those lines for you. next: Write `use shared/types { Count }` (agent) rule: syntax.import_statement help: https://jadpo.dev/docs/errors/syntax.import_statementcheck failed: 1 error, 1 file
Markdown for agents: /docs/errors/syntax.import_statement.md.Built from Jadpo main at a707efb.