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
This continues to trigger if the function is created by a macro that clj-kondo understands:
(ns ns-unmap-records)
(defrecord Example [a b c])
(ns-unmap *ns* '->Example)
(defn ->Example
[a b c]
(new Example a b c))
raises corpus/ns_unmap_records.clj:7:1: warning: redefined var #'ns-unmap-records/->Example.
Actually, looking at the code I think the changes were only intended to exclude clojure.core vars. Expanding it to include any existing var seems easy enough here:
raises
corpus/ns_unmap_records.clj:7:1: warning: redefined var #'ns-unmap-records/->Example
.Actually, looking at the code I think the changes were only intended to exclude
clojure.core
vars. Expanding it to include any existing var seems easy enough here:but that shifts the meaning of
:clojure-excluded
.Originally posted by @NoahTheDuke in #1384 (comment)
The text was updated successfully, but these errors were encountered: