Hello, Am I missing something or doesn't isdefined detect local variables of a function?
julia> foo()= begin bar=1; isdefined(current_module(), :bar); end foo (generic function with 1 method) julia> foo() false Best Regards, Juha julia version 0.3.5 julia> versioninfo() Julia Version 0.3.5 Commit a05f87b* (2015-01-08 22:33 UTC) Platform Info: System: Linux (x86_64-linux-gnu) CPU: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz WORD_SIZE: 64 BLAS: libopenblas (NO_LAPACK NO_LAPACKE DYNAMIC_ARCH NO_AFFINITY) LAPACK: liblapack.so.3 LIBM: libopenlibm LLVM: libLLVM-3.3
