Skip to content

Commit 5b070b6

Browse files
roman01laswannodette
authored andcommitted
CLJS-3161: Include :property for :warning-type :target
1 parent 483edea commit 5b070b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/clojure/cljs/analyzer.cljc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3391,7 +3391,7 @@
33913391
;; Cannot determine type of the target
33923392
(when (or (nil? target-tag) ('#{any} target-tag))
33933393
(warning :infer-warning env
3394-
{:warn-type :target :form form}))
3394+
{:warn-type :target :form form :property prop}))
33953395
;; Unresolveable property on existing extern
33963396
(let [[pre' pre] ((juxt butlast identity) (-> tag meta :prefix))]
33973397
(when (and (has-extern? pre') (not (has-extern? pre)))

0 commit comments

Comments
 (0)