You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Invoking clojure-add-arity in a single-arity function with metadata on the arglist should result in a function that still has that arglist meta.
For example, if I have
(defnstring
^String
[x]
(str x))
After clojure-add-arity, I should have
(defnstring
([])
(^String [x]
(str x)))
Actual behavior
New airty is added between metadata and the existing arglist, consequently moving the metadata off the original arglist. The metadata is no longer meaningful.
(defnstring
^String
([])
([x]
(str x)))
Steps to reproduce the problem
Invoke clojure-add-arity at any point in a single-arity function with metadata on the arglist.
Environment & Version information
clojure-mode version
5.16.0
Emacs version
GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars)
Operating system
NixOS 23.05
The text was updated successfully, but these errors were encountered:
Expected behavior
Invoking
clojure-add-arity
in a single-arity function with metadata on the arglist should result in a function that still has that arglist meta.For example, if I have
After
clojure-add-arity
, I should haveActual behavior
New airty is added between metadata and the existing arglist, consequently moving the metadata off the original arglist. The metadata is no longer meaningful.
Steps to reproduce the problem
Invoke
clojure-add-arity
at any point in a single-arity function with metadata on the arglist.Environment & Version information
clojure-mode version
5.16.0
Emacs version
GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars)
Operating system
NixOS 23.05
The text was updated successfully, but these errors were encountered: