ErrorsProject layout and modules · rule
syntax.export_keyword
Declaration marked export or pub.
Area 1, Project layout and modules; not declinable; the next step is usually the agent's.
Every declaration is visible across its domain without export or pub; public opens one to other domains.
type Count = Int { min: 0}export function same(count: Count) -> Count { return count}
error Jadpo has no export
--> main.jadpo:5:1
|5 | export function same(count: Count) -> Count { | ^^^^^^ remove `export`
- reason
exportmakes a name visible to other files in JavaScript and TypeScript, andpuboutside its module in Rust; every Jadpo declaration is visible across its domain, andpublicopens it to other domains.- next
- Remove
export(agent) - rule
- syntax.
export_ keyword - help
- https://jadpo.
dev/docs/errors/syntax. export_ keyword
Markdown for agents: /docs/errors/syntax.export_keyword.md.Built from Jadpo main at aee2e8f.