Elsa icon indicating copy to clipboard operation
Elsa copied to clipboard

Fix lexical variables and setq

Open Fuco1 opened this issue 1 year ago • 0 comments

See #164 and #4

(let ((my-lex-var nil))
  ;; Elsa thinks `my-lex-var' can only be nil
  (setq my-lex-var t)
  ;; Elsa thinks this conditional is always false because it thinks
  ;; the var is always nil.
  (when my-lex-var
    (message "hello"))
  my-lex-var)

Fuco1 avatar Mar 14 '23 22:03 Fuco1