Skip to content

feat(checker): support bare self-package root imports - #490

Merged
akonwi merged 1 commit into
mainfrom
feat/420-bare-self-package-root-imports
Sep 8, 2026
Merged

feat(checker): support bare self-package root imports#490
akonwi merged 1 commit into
mainfrom
feat/420-bare-self-package-root-imports

Conversation

@akonwi

@akonwi akonwi commented Sep 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • resolve bare self-package imports such as use cooper to cooper.ard
  • preserve circular-import diagnostics when a package root imports itself
  • document self-package root import shorthand

Testing

  • cd compiler && go test ./... -count=1
  • cd compiler && gopls check checker/module_resolver.go checker/module_resolver_test.go
  • cd website && npm run build

Fixes #420

@vercel

vercel Bot commented Sep 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ard-lang-dev Ready Ready Preview Sep 8, 2026 6:08pm UTC

@akonwi
akonwi merged commit ad02944 into main Sep 8, 2026
6 checks passed
@akonwi
akonwi deleted the feat/420-bare-self-package-root-imports branch September 8, 2026 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support bare self-package root imports (use pkg)

1 participant