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

Allow naming overlap for hierarchical modules #1940

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

plajjan
Copy link
Contributor

@plajjan plajjan commented Oct 9, 2024

Having a module foo (src/foo.act) and a foo.bar (src/foo/bar.act) would previously "conflict" and lead to a compilation error. We now allow it. We should really have some more checks around this to ensure that there are no true conflicts, i.e. that the module foo does not define any "bar", since the foo.bar is now a module... but that's for later ;) Meanwhile, one needs to be careful :)

Fixes #1657

Having a module foo (src/foo.act) and a foo.bar (src/foo/bar.act) would
previously "conflict" and lead to a compilation error. We now allow it. We
should really have some more checks around this to ensure that there are no
true conflicts, i.e. that the module foo does not define any "bar", since the
foo.bar is now a module... but that's for later ;) Meanwhile, one needs to be
careful :)
@plajjan plajjan merged commit 746737a into main Oct 9, 2024
23 of 24 checks passed
@plajjan plajjan deleted the actonc-allow-module-overlap branch October 9, 2024 12:23
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.

actonc bug for module hierarchy overlap
1 participant