File:  [parser3project] / parser3 / tests / 454.html
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Fri Sep 25 13:04:38 2026 UTC (4 weeks ago) by moko
Branches: MAIN
CVS tags: HEAD
tests for bug #1082 added: preserving the original stack trace after handling a nested exception in catch; reporting the correct stack trace for a new exception thrown from finally.

# A replacement error in finally must not inherit the original trace (related to bug #1082)
@main[]
^try{^outer[]}{}{^inner[]}

@outer[]
^missing_outer[]

@inner[]
^missing_inner[]

@unhandled_exception[exception;stack]
$exception.handled(true)
^json:string[$.source[$exception.source] $.line($exception.lineno) $.stack[^stack.menu{$stack.name}[,]]]

E-mail: