Skip to content

Commit 343c19a

Browse files
committed
Don't trace non-return try's anon functions calls
1 parent 38a2eba commit 343c19a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
99
### Bugs fixed
1010

11+
- Don't trace non-return try's anon functions calls
12+
1113
## 1.12.0-9 (11-03-2025)
1214

1315
### New Features

src/jvm/clojure/lang/Compiler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2825,7 +2825,7 @@ public Expr parse(C context, Object frm) {
28252825
ISeq form = (ISeq) frm;
28262826
// if(context == C.EVAL || context == C.EXPRESSION)
28272827
if(context != C.RETURN)
2828-
return analyze(context, RT.list(RT.list(FNONCE, PersistentVector.EMPTY, form)));
2828+
return analyze(context, RT.list(RT.list(FNONCE, PersistentVector.EMPTY.withMeta(RT.map(SKIP_TRACE_KEY, true)), form)));
28292829

28302830
//(try try-expr* catch-expr* finally-expr?)
28312831
//catch-expr: (catch class sym expr*)

0 commit comments

Comments
 (0)