Skip to content

Commit 875807a

Browse files
committed
Don't trace non-return try's anon functions calls
1 parent 6a1e256 commit 875807a

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@
44

55
### New Features
66

7+
### Changes
8+
9+
### Bugs fixed
10+
11+
- Don't trace non-return try's anon functions calls
12+
13+
## 1.12.0-9 (11-03-2025)
14+
15+
### New Features
16+
717
### Changes
818

919
- Make autoPrefixes and instrumentEnable true by default

src/jvm/clojure/lang/Compiler.java

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

23732373
//(try try-expr* catch-expr* finally-expr?)
23742374
//catch-expr: (catch class sym expr*)

0 commit comments

Comments
 (0)