Julia v0.5 on Ubuntu 16.04. When working in the REPL, I run the following two lines
using MyModule f() = error("argh")
The first line runs fine, but the second line hangs, ie I just get a flashing cursor and have to end the process externally via the system monitor. I’m guessing there is a bug in MyModule, since the second line is fairly innocuous, but I’m not really sure what I should be looking for (there are no error message since, as stated, julia appears to get stuck in some sort of infinite loop).
But here is where it gets weird. If I do this (pressing Enter between each line):
f() = error("argh") using MyModule f() = error("argh")
everything works fine (although obviously I get the warning message about f() being overwritten). Even weirder though, if I do this:
f() = error("argh") ; using SDatas ; f() = error("argh")
ie evaluate all three statements in one line with only one press of Enter, then I get the warning message, but then julia hangs (flashing cursor) and has to be externally ended.
As stated, there is obviously something wrong in MyModule, but it is a fairly large module and I was hoping someone might be able to provide some clues as to where in this module I should be looking for the source of the problem.
Cheers and thanks in advance for any/all help,