-
Notifications
You must be signed in to change notification settings - Fork 452
Fix difference between bootstrap & dune behaviour w.r.t include-subdirs ambiguity #12587
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
Conversation
test/blackbox-tests/test-cases/boot/include-subdirs-qualified-ambiguous.t
Outdated
Show resolved
Hide resolved
test/blackbox-tests/test-cases/include-qualified/ambiguous-module-name.t
Outdated
Show resolved
Hide resolved
5380d48 to
36b4592
Compare
|
I've pushed a fix for this. It involves reversing the order of the parents we collect for a module. This meant however I had to reverse the order of the place we generate deps, but it seems to have resolved things for the better. |
008438e to
a3d03d9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's get @anmonteiro to look as well
|
Rebasing #12585 on top of this shows that this isn't a complete fix. |
|
Specifically this won't fix all the issues encountered in #12585, but it will fix this one. |
…-subdirs Signed-off-by: Ambre Austen Suhamy <[email protected]>
Co-authored-by: Ambre Austen Suhamy <[email protected]> Signed-off-by: Ali Caglayan <[email protected]>
a3d03d9 to
5505247
Compare
Signed-off-by: Ali Caglayan <[email protected]>
Signed-off-by: Ali Caglayan <[email protected]>
Initial problem
When we have 2 modules with the same name, the one that is closer should be picked up.
The behaviour is correct within the bootstrapped dune, but not normal dune.
In bin,
include_subdirs qualifiedwas introduced in #12478.Working on #12585, we realized there was a bug.
Fix
In 36b4592, Ali fixed the bug!