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

Fix bad compiler path nesting #2540

Merged
merged 1 commit into from
Apr 19, 2021
Merged

Conversation

ferd
Copy link
Collaborator

@ferd ferd commented Apr 19, 2021

Annoying issue reported by users who had deeply nested source
directories. The patches I've added to the compiler recently worked well
up to 1-2 levels of nesting (which we tested for), but I messed up the
merging of recursive path lists by doing them only at the top level.

So when people had deeper-nested source structures, the paths were
passed incorrectly and ignored some source files when resolving the
DAG.

Fix this so the path lists are merged at a level-order rather than only
at the top, ensuring proper resolving.

Annoying issue reported by users who had deeply nested source
directories. The patches I've added to the compiler recently worked well
up to 1-2 levels of nesting (which we tested for), but I messed up the
merging of recursive path lists by doing them only at the top level.

So when people had deeper-nested source structures, the paths were
passed incorrectly and ignored some source files when resolving the
DAG.

Fix this so the path lists are merged at a level-order rather than only
at the top, ensuring proper resolving.
@ferd ferd requested a review from tsloughter April 19, 2021 14:53
@ferd ferd merged commit 7346681 into erlang:master Apr 19, 2021
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.

2 participants