You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
julia> @noinline foo(ex) = error()
foo (generic function with 1 method)
julia> @noinline bar(ex) = foo(ex)
bar (generic function with 1 method)
julia> macro baz(ex)
bar(ex)
end
@baz (macro with 1 method)
julia> @baz 1+1
ERROR:
in eval(::Module, ::Any) at ./boot.jl:234
julia> bar(:(1+1))
ERROR:
in error() at ./error.jl:22
in foo(::Expr) at ./REPL[2]:1
in bar(::Expr) at ./REPL[3]:1
in eval(::Module, ::Any) at ./boot.jl:234
Why does this happen?, well
so that's the code that actually gets interpolated. I would suggest simply putting the
backtrace from macro expansion in there as well.
The text was updated successfully, but these errors were encountered: