Skip to content

Commit

Permalink
Trace clojure 12 MethodValue return coord
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmonettas committed Feb 9, 2024
1 parent 6f17faf commit f353d32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/jvm/clojure/lang/Compiler.java
Original file line number Diff line number Diff line change
Expand Up @@ -1384,6 +1384,7 @@ private static FnExpr buildThunk(Class c, Executable method, Symbol methodSymbol
ISeq body = RT.listStar(methodSymbol, params.seq());
String thunkName = "invoke__" + c.getSimpleName() + "_" + methodSymbol.name;
ISeq form = RT.list(Symbol.intern("fn"), Symbol.intern(thunkName), RT.list(params, body));
form = (ISeq) Utils.addCoordMeta(form, Utils.coordOf(methodSymbol));
return (FnExpr) analyzeSeq(C.EVAL, form, thunkName);
}

Expand Down

0 comments on commit f353d32

Please sign in to comment.