summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/let-alist-tests.el
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2021-11-22 16:56:38 +0100
committerMattias EngdegÄrd <mattiase@acm.org>2022-01-12 16:51:01 +0100
commit3ec8c8b3ae2359ceb8135b672e86526969c16b7e (patch)
treed456c8c85aa895ca4611a48ef68dd3ba753b0264 /test/lisp/emacs-lisp/let-alist-tests.el
parent862faa64e5c41f232a636dc3b28089040cf8bc0a (diff)
downloademacs-3ec8c8b3ae2359ceb8135b672e86526969c16b7e.tar.gz
emacs-3ec8c8b3ae2359ceb8135b672e86526969c16b7e.tar.bz2
emacs-3ec8c8b3ae2359ceb8135b672e86526969c16b7e.zip
Fix closure-conversion of shadowed captured lambda-lifted vars
Lambda-lifted variables (ones passed explicitly to lambda-lifted functions) that are also captured in an outer closure and shadowed were renamed incorrectly (bug#51982). Reported by Paul Pogonyshev. * lisp/emacs-lisp/cconv.el (cconv--lifted-arg): New. (cconv-convert): Provide correct definiens for the closed-over variable. * test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-tests--test-cases): * test/lisp/emacs-lisp/cconv-tests.el (cconv-tests--intern-all) (cconv-closure-convert-remap-var): Add tests. (cherry picked from commit 45252ad8f932c98a373ef0ab7f3363a3e27ccbe4)
Diffstat (limited to 'test/lisp/emacs-lisp/let-alist-tests.el')
0 files changed, 0 insertions, 0 deletions