Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions elsa-analyser.el
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,9 @@ The BINDING should have one of the following forms:
(-each bindings
(lambda (binding)
(let ((variable (elsa--analyse-variable-from-binding binding scope state)))
(push variable new-vars)
(elsa-scope-add-var scope variable))))
(when variable
(push variable new-vars)
(elsa-scope-add-var scope variable)))))
(if (not body)
(oset form type (elsa-type-nil))
(elsa--analyse-body body scope state)
Expand Down