]> git.eshelyaron.com Git - emacs.git/commit
Fix condition-case optimiser bug
authorMattias Engdegård <mattiase@acm.org>
Fri, 9 Apr 2021 16:59:09 +0000 (18:59 +0200)
committerMattias Engdegård <mattiase@acm.org>
Fri, 9 Apr 2021 17:20:55 +0000 (19:20 +0200)
commit59342f689eaa4839b0fc15351ae48b4f1074a6fc
treed0778dc9d0ce81fba4ec9e8b36797ce946d73497
parentb7a7e879d02570cbf74aa87686b6b0ed4e6b0c3b
Fix condition-case optimiser bug

* lisp/emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't
perform incorrect optimisations when a condition-case variable shadows
another lexical variable.
* test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-tests--test-cases):
New test case.
lisp/emacs-lisp/byte-opt.el
test/lisp/emacs-lisp/bytecomp-tests.el