diff --git a/src/main/clojure/cljs/analyzer.cljc b/src/main/clojure/cljs/analyzer.cljc index 376956d8e..4e52de69f 100644 --- a/src/main/clojure/cljs/analyzer.cljc +++ b/src/main/clojure/cljs/analyzer.cljc @@ -2417,6 +2417,7 @@ shadow (or (handle-symbol-local name (get-in env [:locals name])) (get-in env [:js-globals name])) be {:name name + :form name :line line :column col :init init-expr diff --git a/src/test/clojure/cljs/analyzer/spec_tests.clj b/src/test/clojure/cljs/analyzer/spec_tests.clj index b514d6a7d..55ad63637 100644 --- a/src/test/clojure/cljs/analyzer/spec_tests.clj +++ b/src/test/clojure/cljs/analyzer/spec_tests.clj @@ -31,7 +31,7 @@ (test/run-tests) - ;; binding is missing :form + ;; next, problem - some fields are nil (s/explain ::a/node (analyze ns-env '(let [x 1]))) )