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 Utilities.submodules for module aliases #852

Merged
merged 2 commits into from
Oct 10, 2018

Conversation

tkoolen
Copy link
Contributor

@tkoolen tkoolen commented Oct 9, 2018

Fix #851

@@ -35,6 +35,17 @@ export OuterModule
end
end

module ModuleWithAlias
using LinearAlgebra
Copy link
Member

Choose a reason for hiding this comment

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

Create another test module instead? I believe this will pull in LinearAlgebra and Random as dependencies, which is not optimal.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done. I do think there should be a module that's its own parent as a test case, so I'm using Main for that now.

@mortenpi mortenpi changed the title Fix #851, module aliases confuse Utilities.submodules. Module aliases confuse Utilities.submodules Oct 10, 2018
@mortenpi mortenpi changed the title Module aliases confuse Utilities.submodules Fix Utilities.submodules for module aliases Oct 10, 2018
@mortenpi
Copy link
Member

LGTM, thanks!

@mortenpi mortenpi merged commit fdddf00 into JuliaDocs:master Oct 10, 2018
@mortenpi mortenpi added this to the 0.19.8 milestone Oct 10, 2018
@tkoolen tkoolen deleted the tk/fix-submodules-alias branch October 10, 2018 20:59
mortenpi pushed a commit that referenced this pull request Oct 14, 2018
Fix #851, module aliases confuse Utilities.submodules.

(cherry picked from commit fdddf00)
@mortenpi mortenpi modified the milestones: 0.19.8, 0.19.7 Oct 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants