We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92b3aba commit 899372eCopy full SHA for 899372e
src/main/clojure/clojure/tools/analyzer.clj
@@ -741,7 +741,8 @@
741
(merge {:form form}
742
(-source-info form env)))))
743
(let [[m-or-f field?] (if (and (symbol? m-or-f)
744
- (= \- (first (name m-or-f))))
+ (= \- (first (name m-or-f)))
745
+ (empty? args))
746
[(-> m-or-f name (subs 1) symbol) true]
747
[(if args (cons m-or-f args) m-or-f) false])
748
target-expr (analyze-form target (ctx env :ctx/expr))
0 commit comments