Skip to content

Commit

Permalink
* :binding missing :form
Browse files Browse the repository at this point in the history
* next problem, some children might just be nil
  • Loading branch information
swannodette committed Oct 25, 2024
1 parent 9f988d8 commit 2a8db4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main/clojure/cljs/analyzer.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/test/clojure/cljs/analyzer/spec_tests.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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])))

)

0 comments on commit 2a8db4d

Please sign in to comment.