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

using a submodule within a module hangs Julia #12443

Closed
stevengj opened this issue Aug 3, 2015 · 2 comments
Closed

using a submodule within a module hangs Julia #12443

stevengj opened this issue Aug 3, 2015 · 2 comments

Comments

@stevengj
Copy link
Member

stevengj commented Aug 3, 2015

module Foo
module Bar
end
using Bar
end

I realize that if you are going to do using Bar, you might arguably not want a module for Bar at all, but at the same time this is not a completely crazy thing to do (e.g. to hide some functions of Bar inside Bar). Hanging Julia does not seem like a great behavior.

(Reproduced in both master and Julia 0.3.x.) Hold on, it just disappeared for me in master, though I can still reproduce it in Julia 0.3.8...

@stevengj
Copy link
Member Author

stevengj commented Aug 3, 2015

Oh, never mind, I had a file bar.jl in my directory. Damn case-insensitive filesystem. (i.e. a dup of #9007)

Now it just gives a Bar not found error.

@stevengj stevengj closed this as completed Aug 3, 2015
@ScottPJones
Copy link
Contributor

Using windows? If Mac, I minimized this sort of problem by making a case-sensitive Julia sparse bundle, added it to my log-in items, and then symlinked /j to /Volumes/Julia. It's also nicer for my Vagrant VMs.

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

No branches or pull requests

2 participants