[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#46722: test-map-into fails
From: |
Stefan Monnier |
Subject: |
bug#46722: test-map-into fails |
Date: |
Wed, 05 Jan 2022 11:38:03 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
>> Does the patch below help?
No, it doesn't because I see now that we already fixed this bug by
binding `lexical-binding` (just a bit further above).
> I don't see why it would if this doesn't work:
>
> (let ((lexical-binding t))
> (funcall
> (funcall
> (backquote
> (lambda (arg)
> (lambda () arg)))
> t)))
The effect of `lexical-binding` is different from what you think.
It applies to the moment a sexp passes from being "data" to the moment
it is labeled as "code", not to the moment the code is executed
(otherwise we couldn't compile the code of functions ahead of time, not
knowing which value of `lexical-binding` would be active when the code
will be executed).
> While I remain leery of the fast and loose scoping here, it was but a red
> herring.
Indeed,
Stefan
- bug#46722: test-map-into fails, dick, 2022/01/04
- bug#46722: test-map-into fails, Stefan Monnier, 2022/01/05
- bug#46722: test-map-into fails, dick, 2022/01/05
- bug#46722: test-map-into fails, Stefan Monnier, 2022/01/05
- bug#46722: test-map-into fails, Stefan Monnier, 2022/01/05
- bug#46722: test-map-into fails, Eli Zaretskii, 2022/01/05
- bug#46722: test-map-into fails, Stefan Monnier, 2022/01/05
- bug#46722: test-map-into fails, Philipp Stephani, 2022/01/13
- bug#46722: test-map-into fails, Stefan Monnier, 2022/01/13
- bug#46722: test-map-into fails, Philipp Stephani, 2022/01/13
- bug#46722: test-map-into fails, Lars Ingebrigtsen, 2022/01/14
- bug#46722: test-map-into fails, Philipp Stephani, 2022/01/14