[julia-users] Is this a bug (related to scoping / nested macros)?
I can't figure out why this doesn't work: julia> macro outer() quote macro inner() end @inner end end julia> @outer ERROR: UndefVarError: @inner not defined Could it be a bug (I'm on 0.5) or am I missing something about
Re: [julia-users] Is this a bug (related to scoping / nested macros)?
On Sep 25, 2016 6:57 PM, "Marius Millea" wrote: > > I can't figure out why this doesn't work: > > julia> macro outer() >quote >macro inner() >end >@inner >end >end > > > julia> @outer > ERROR: UndefVarError: @inner not