We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 829a6e1 commit fc270d2Copy full SHA for fc270d2
elsa-analyser.el
@@ -1152,7 +1152,7 @@ FORM is a result of `elsa-read-form'."
1152
(when-let ((annotation (oref form annotation)))
1153
(cond
1154
((eq (car annotation) 'var)
1155
- (let ((var (elsa-scope-get-var scope (cadr annotation))))
+ (when-let ((var (elsa-scope-get-var scope (cadr annotation))))
1156
;; update the type in the current scope
1157
(oset var type (eval `(elsa-make-type ,@(nthcdr 3 annotation))))))))
1158
0 commit comments