1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-07 15:21:46 +00:00

; Add commentary to comp-tests.el

Sigh... why do people insist on removing useful comments and leave
their tricky code more obfuscated than it must be??
* test/src/comp-tests.el (comp-tests-type-spec-tests): Add a
comment explaining why the expressions are quoted.  (Bug#51104)
This commit is contained in:
Eli Zaretskii 2022-09-13 16:49:02 +03:00
parent 7df898d532
commit 543b8717c7

View File

@ -860,6 +860,11 @@ Return a list of results."
(cl-eval-when (compile eval load)
(defconst comp-tests-type-spec-tests
;; Why we quote everything here, you ask? So that values of
;; `most-positive-fixnum' and `most-negative-fixnum', which can be
;; architecture-dependent, do not end up hardcoded in the
;; resulting byte-compiled file, and thus we could run the same
;; .elc file on several architectures without fear.
'(
;; 1
((defun comp-tests-ret-type-spec-f (x)