Open pevnak opened 2 years ago
module A f() = println("hello") macro foo() :(f()) end end Main.A julia> f() = println("goodbye") f (generic function with 1 method) julia> A.@foo hello
and compare this to
module A f() = println("hello") macro foo() :(esc(f()))) end end
and compare this to