-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviorerror handlingHandling of exceptions by Julia or the userHandling of exceptions by Julia or the user
Description
julia> corrupt_stacktrace() = error("destroy stacktrace")
julia> f() = error("expected")
f (generic function with 1 method)
julia> try
f()
finally
try; corrupt_stacktrace(); end
end
ERROR:
Stacktrace:
[1] error at ./error.jl:33 [inlined]
[2] corrupt_stacktrace at ./REPL[8]:1 [inlined] # should have been f!
[3] macro expansion at ./REPL[14]:4 [inlined]
[4] top-level scope at ./<missing>:0
Metadata
Metadata
Assignees
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviorerror handlingHandling of exceptions by Julia or the userHandling of exceptions by Julia or the user