We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a8f0da commit 40b7216Copy full SHA for 40b7216
1 file changed
src/main/clojure/clojure/tools/analyzer/passes/jvm/analyze_host_expr.clj
@@ -198,9 +198,7 @@
198
(if-let [array-class (maybe-array-class-sym (symbol (str class-sym) field-name))]
199
(assoc (ana/analyze-const array-class env :class) :form form)
200
(if-let [the-class (maybe-class-literal class-sym)]
201
- (let [param-tags (or (param-tags-of form)
202
- (when (coll? form)
203
- (param-tags-of (first form))))
+ (let [param-tags (param-tags-of form)
204
kind (cond (.startsWith field-name ".") :instance
205
(= "new" field-name) :ctor
206
:else :static)
0 commit comments