How to interpolate when having nested macros ?
E.g., a toy example
julia> using Distributed
julia> using BenchmarkTools
julia> @everywhere function bencheverywhere()
for k in 1:2
@btime sin($k)
end
end
ERROR: UndefVarError: `k` not defined
Stacktrace:
[1] top-level scope
@ ~/.julia/juliaup/julia-1.9.4+0.x64.linux.gnu/share/julia/stdlib/v1.9/Distributed/src/macros.jl:201