Skip to content

✨ feat(mq-lang): support import aliasing with as#2025

Merged
harehare merged 1 commit into
mainfrom
feat/import-alias
Jul 16, 2026
Merged

✨ feat(mq-lang): support import aliasing with as#2025
harehare merged 1 commit into
mainfrom
feat/import-alias

Conversation

@harehare

Copy link
Copy Markdown
Owner

Summary

Allow import "path" as alias to bind an imported module under a custom name instead of its canonical module name, across the parser, CST, formatter, evaluator, HIR, and type checker.

Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • ♻️ Refactor
  • 📝 Documentation
  • ⚡ Performance
  • ✅ Test
  • 📦 Build / dependencies
  • 👷 CI

Checklist

  • I ran cargo fmt and cargo clippy and addressed any warnings
  • I ran just test-all and all tests pass
  • I added or updated tests covering this change
  • I updated relevant documentation (/docs, crate README.md) if needed
  • I added a changelog entry if this is a user-facing change

Additional Context

Allow `import "path" as alias` to bind an imported module under a
custom name instead of its canonical module name, across the parser,
CST, formatter, evaluator, HIR, and type checker.
@codspeed-hq

codspeed-hq Bot commented Jul 16, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 31 untouched benchmarks


Comparing feat/import-alias (e82b9c5) with main (c054c03)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (82ffb96) during the generation of this report, so c054c03 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@harehare harehare merged commit d614d45 into main Jul 16, 2026
11 checks passed
@harehare harehare deleted the feat/import-alias branch July 16, 2026 12:24
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.

1 participant