Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 786fc5a

Browse files
ghadishaybanstuarthalloway
authored andcommitted
CLJ-1854 make line number available on synthetic method
Signed-off-by: Stuart Halloway <[email protected]>
1 parent 7be225f commit 786fc5a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/jvm/clojure/lang/Compiler.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5451,6 +5451,8 @@ public void doEmitStatic(ObjExpr fn, ClassVisitor cv){
54515451
gen.storeArg(i);
54525452
}
54535453
}
5454+
Label callLabel = gen.mark();
5455+
gen.visitLineNumber(line, callLabel);
54545456
gen.invokeStatic(objx.objtype, ms);
54555457
gen.box(returnType);
54565458

0 commit comments

Comments
 (0)