I've just done a fresh build from git HEAD (julia version 0.4.0-dev+2067). I don't see any difference in behaviour between 0.3.0-RC4 and 0.4 for the examples I have posted.
On Friday, December 12, 2014 10:58:19 AM UTC+11, Rob J Goedman wrote: > > Hmmm, now I think early on I saw you’re on Julia 0.3.0-RC4? > > I tried it on 0.3.3 and 0.4 both with the same output. Could that explain > the difference? > > Rob J. Goedman > [email protected] <javascript:> > > > *julia> * > *include("/Users/rob/Projects/Julia/Rob/MetaProgramming/meta13.jl")* > Int: 7 > ASCIIString: Foo > UTF8String: ∀ x ∃ y > Float64: 12.0 > Complex{Float64}: 2.0 + 3.0im > > > > On Dec 11, 2014, at 3:53 PM, samoconnor <[email protected] <javascript:>> > wrote: > > Hi Rob, > > I don't use the REPL. I have "#!/[...]bin/julia" on the first line of the > script and run ./script.jl from the command line. > > On Friday, December 12, 2014 10:27:45 AM UTC+11, Rob J Goedman wrote: >> >> Did you restart the REPL? >> >> Rob J. Goedman >> [email protected] >> >> >> >> >> >> On Dec 11, 2014, at 3:19 PM, samoconnor <[email protected]> wrote: >> >> If I change the example to use "import" instead of "using"... >> >> import m1: f >> import m2: f >> >> ... then I get: >> >> Warning: ignoring conflicting import of m2.f into Main >> ?: 7 >> String: Foo >> >> Now Julia spots the problem, but resolves it the opposite way (i.e. the >> first definition wins). >> >> >> >
