Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(compiler)!: Require module prefix on use/provide for modules #1868

Merged
merged 1 commit into from
Jul 1, 2023

Conversation

alex-snezhko
Copy link
Member

// provide
module Submodule {
  // ...
}
provide { module Submodule }

// use
from Mod use { module Submodule }

Copy link
Member

@spotandjake spotandjake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@alex-snezhko alex-snezhko force-pushed the include-provide-module-prefix branch from b8031d9 to dac52e5 Compare June 28, 2023 21:53
Copy link
Member

@phated phated left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great! 🎉

@phated phated added this pull request to the merge queue Jul 1, 2023
Merged via the queue into grain-lang:main with commit 5efb54c Jul 1, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants