We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d636ddd commit 2e59fceCopy full SHA for 2e59fce
1 file changed
src/main/clojure/cljs/analyzer.cljc
@@ -2634,9 +2634,7 @@
2634
{:warn-type :object :form form :property prop}))
2635
(when (not= 'js target-tag)
2636
;; Cannot determine type of the target
2637
- (when (and (get-in env [:locals target])
2638
- (or (nil? target-tag)
2639
- ('#{any} target-tag)))
+ (when (or (nil? target-tag) ('#{any} target-tag))
2640
(warning :infer-warning env
2641
{:warn-type :target :form form}))
2642
;; Unresolveable property on existing extern
0 commit comments