Skip to content

Commit 826c815

Browse files
committed
munge dashes in ns names for static calls
1 parent 46da540 commit 826c815

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jvm/clojure/lang/Compiler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3046,7 +3046,7 @@ else if(alist.count() == argcount)
30463046
}
30473047
}
30483048

3049-
String cname = v.ns.name.name.replace('.', '/') + "$" + munge(v.sym.name);
3049+
String cname = v.ns.name.name.replace('.', '/').replace('-','_') + "$" + munge(v.sym.name);
30503050
Type target = Type.getObjectType(cname);
30513051

30523052
PersistentVector argv = PersistentVector.EMPTY;

0 commit comments

Comments
 (0)