## A.jl
module A
f(a) = Main.X
g = Main.X
end
## init_working.jl
X = 1
include("A.jl")
## init_failing.jl
X = 1
using A
I get an UndefVarError if I do using A
and A
contains g = Main.X
No error if I exclude g = Main.X
from A
or use include("A.jl")
I believe I am getting this since julia 0.7