clojure-emacs / orchard

A fertile ground for Clojure tooling
Eclipse Public License 1.0
326 stars 54 forks source link

cider-doc for java methods with array args rendered incorrectly #278

Open bsless opened 3 months ago

bsless commented 3 months ago

Expected behavior

Call cider-doc on java.nio.file.Path/of, render docs such that more is represented as an array:

java.nio.file.Path/of
^Path [^String first, ^String<> more] ; or  [Ljava.lang.String;
^Path [^java.net.URI uri]

Actual behavior

java.nio.file.Path/of
^Path [^String first, ^String more]
^Path [^java.net.URI uri]

Steps to reproduce the problem

M-x cider-doc java.nio.file.Path/of

Environment & Version information

Cider version 1.15.0
emacs --version
GNU Emacs 30.0.50
Development version 319e16550d66 on master branch; build date 2024-05-31.

Clojure version

E.g. 1.11.1

Java version

21

Operating system

Pop OS 22.04

vemv commented 3 months ago

Thanks!

Some notes https://clojurians.slack.com/archives/C0617A8PQ/p1718605593241419