summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/bytecomp-tests.el
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2022-01-12 19:47:39 +0100
committerMattias EngdegÄrd <mattiase@acm.org>2022-01-12 20:23:09 +0100
commit22ddd2ba13ae002a23f41ae543e211a06a85ad8f (patch)
tree7b2320dbb1c55d9a2f50717a2b53c66d32da5aca /test/lisp/emacs-lisp/bytecomp-tests.el
parenta1ac6bd47e11659ed750e5819208294ed6ec36c2 (diff)
downloademacs-22ddd2ba13ae002a23f41ae543e211a06a85ad8f.tar.gz
emacs-22ddd2ba13ae002a23f41ae543e211a06a85ad8f.tar.bz2
emacs-22ddd2ba13ae002a23f41ae543e211a06a85ad8f.zip
Revert "Fix closure-conversion of shadowed captured lambda-lifted vars"
This reverts commit 3ec8c8b3ae2359ceb8135b672e86526969c16b7e. It was committed to a stable branch without prior discussion; see bug#53071.
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-tests.el')
-rw-r--r--test/lisp/emacs-lisp/bytecomp-tests.el43
1 files changed, 0 insertions, 43 deletions
diff --git a/test/lisp/emacs-lisp/bytecomp-tests.el b/test/lisp/emacs-lisp/bytecomp-tests.el
index b5914745381..8a09c545914 100644
--- a/test/lisp/emacs-lisp/bytecomp-tests.el
+++ b/test/lisp/emacs-lisp/bytecomp-tests.el
@@ -640,49 +640,6 @@ inner loops respectively."
(f (list (lambda (x) (setq a x)))))
(funcall (car f) 3)
(list a b))
-
- ;; These expressions give different results in lexbind and dynbind modes,
- ;; but in each the compiler and interpreter should agree!
- ;; (They look much the same but come in pairs exercising both the
- ;; `let' and `let*' paths.)
- (let ((f (lambda (x)
- (lambda ()
- (let ((g (lambda () x)))
- (let ((x 'a))
- (list x (funcall g))))))))
- (funcall (funcall f 'b)))
- (let ((f (lambda (x)
- (lambda ()
- (let ((g (lambda () x)))
- (let* ((x 'a))
- (list x (funcall g))))))))
- (funcall (funcall f 'b)))
- (let ((f (lambda (x)
- (lambda ()
- (let ((g (lambda () x)))
- (setq x (list x x))
- (let ((x 'a))
- (list x (funcall g))))))))
- (funcall (funcall f 'b)))
- (let ((f (lambda (x)
- (lambda ()
- (let ((g (lambda () x)))
- (setq x (list x x))
- (let* ((x 'a))
- (list x (funcall g))))))))
- (funcall (funcall f 'b)))
- (let ((f (lambda (x)
- (let ((g (lambda () x))
- (h (lambda () (setq x (list x x)))))
- (let ((x 'a))
- (list x (funcall g) (funcall h)))))))
- (funcall (funcall f 'b)))
- (let ((f (lambda (x)
- (let ((g (lambda () x))
- (h (lambda () (setq x (list x x)))))
- (let* ((x 'a))
- (list x (funcall g) (funcall h)))))))
- (funcall (funcall f 'b)))
)
"List of expressions for cross-testing interpreted and compiled code.")