emacs/test/lisp/emacs-lisp
Stefan Kangas ace6eba036 Fix byte-compiler warning for failed uses of lexical vars
* lisp/emacs-lisp/bytecomp.el (byte-compile-form): Fix byte-compiler
warning for failed uses of lexical vars.  (Bug#44980)
* test/lisp/emacs-lisp/bytecomp-tests.el
(bytecomp--define-warning-file-test): Don't prefix tests with
'warn'.
(bytecomp/error-lexical-var-with-add-hook\.el)
(bytecomp/error-lexical-var-with-remove-hook\.el)
(bytecomp/error-lexical-var-with-run-hook-with-args-until-failure\.el)
(bytecomp/error-lexical-var-with-run-hook-with-args-until-success\.el)
(bytecomp/error-lexical-var-with-run-hook-with-args\.el)
(bytecomp/error-lexical-var-with-symbol-value\.el): New tests.
* test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-symbol-value.el:
* test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-run-hook-with-args.el:
* test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-run-hook-with-args-until-success.el:
* test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-run-hook-with-args-until-failure.el:
* test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-remove-hook.el:
* test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-add-hook.el:
New files.
2020-12-01 13:35:03 +01:00
..
bytecomp-resources Fix byte-compiler warning for failed uses of lexical vars 2020-12-01 13:35:03 +01:00
edebug-resources Use lexical-binding in most remaining emacs-lisp tests 2020-04-30 12:09:51 +02:00
eieio-tests Un-deprecate oset and oset-default 2020-06-06 17:24:00 +01:00
faceup-resources ; Fix more trivial typos 2020-09-21 15:51:07 +02:00
faceup-tests Use lexical-binding in most remaining emacs-lisp tests 2020-04-30 12:09:51 +02:00
package-resources Tweak test data for signed package installation 2020-10-20 18:26:38 +02:00
shadow-resources Use lexical-binding in most remaining emacs-lisp tests 2020-04-30 12:09:51 +02:00
testcover-resources Update copyright year to 2020 2020-01-01 00:59:52 +00:00
backquote-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
backtrace-tests.el ; Fix many typos in symbols in docs and comments 2020-10-02 13:29:45 +02:00
benchmark-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
bindat-tests.el Remove incorrect use of decode-coding-string 2020-10-22 20:34:15 +02:00
bytecomp-tests.el Fix byte-compiler warning for failed uses of lexical vars 2020-12-01 13:35:03 +01:00
cconv-tests.el Mark two cconv tests as :unstable 2020-08-06 09:09:57 +02:00
check-declare-tests.el Use lexical-binding in check-declare.el and add tests 2020-05-03 19:50:57 +02:00
checkdoc-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cl-extra-tests.el Fix cl-concatenate (Bug#40180) 2020-03-22 23:06:31 -04:00
cl-generic-tests.el Adjust some tests so that they work in symlinked environs 2020-10-16 10:33:19 +02:00
cl-lib-tests.el Add tests for cl-{incf,decf} 2020-08-13 22:04:59 +02:00
cl-macs-tests.el Allow destructuring in &aux sections when using edebug (Bug#40431) 2020-06-10 15:34:41 +02:00
cl-preloaded-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cl-print-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cl-seq-tests.el Mark some tests as expensive 2020-09-10 20:25:19 +02:00
copyright-tests.el Use lexical-binding in copyright.el and add tests 2020-10-24 13:35:49 +02:00
derived-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
easy-mmode-tests.el ; Silence byte-compiler warnings in tests 2020-11-05 18:25:40 +01:00
edebug-tests.el Fix file-name problems in several tests 2020-10-16 16:49:47 +03:00
ert-tests.el Add a (broken) unit test to exemplify Bug#11218. 2020-11-24 18:39:58 +01:00
ert-x-tests.el Remove some unnecessary compat code 2020-09-22 01:00:06 +02:00
find-func-tests.el ; Fix license statement in several files 2020-10-28 03:41:55 +01:00
float-sup-tests.el Use lexical-binding in float-sup.el and add tests 2020-04-29 09:25:02 +02:00
generator-tests.el Merge from origin/emacs-27 2020-08-03 08:32:39 -07:00
gv-tests.el Adapt some tests for Emacs's excitingly variable quoting format 2020-09-12 11:57:42 -07:00
hierarchy-tests.el Use lexical-binding in more tests 2020-08-29 22:41:51 +02:00
let-alist-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
lisp-mode-tests.el Convert manual indent test for lisp-mode into unit test 2020-09-21 16:46:21 +02:00
lisp-tests.el Update a failing lisp test 2020-09-24 12:46:19 -07:00
map-tests.el Merge from origin/emacs-27 2020-02-06 07:50:29 -08:00
nadvice-tests.el Use lexical-binding in many emacs-lisp tests 2020-04-28 18:14:24 +02:00
package-tests.el Clean up temporary files after package tests 2020-10-23 12:58:01 +02:00
pcase-tests.el Use lexical-binding in many emacs-lisp tests 2020-04-28 18:14:24 +02:00
pp-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
regexp-opt-tests.el ; * test/lisp/emacs-lisp/regexp-opt-tests.el: Fix last change 2020-02-21 20:34:40 +01:00
ring-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
rmc-tests.el ; Fix license statements. 2020-08-27 02:53:25 +02:00
rx-tests.el Better warning suppression in rx-tests 2020-11-09 18:05:08 +01:00
seq-tests.el Use lexical-binding in many emacs-lisp tests 2020-04-28 18:14:24 +02:00
shadow-tests.el Use new resource directory macros in tests (Bug#43792) 2020-10-16 11:28:09 +02:00
subr-x-tests.el ; Fix license statements. 2020-08-27 02:53:25 +02:00
syntax-tests.el Allow back-references in syntax-propertize-rules. 2020-05-19 20:50:14 +02:00
tabulated-list-test.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
testcover-tests.el Fix file-name problems in several tests 2020-10-16 16:49:47 +03:00
text-property-search-tests.el ; Fix typo in my last commit 2020-10-30 14:16:25 +01:00
thunk-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
timer-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
unsafep-tests.el Trim and explain set of safe forms for 'unsafep' (bug#44018) 2020-10-31 13:42:07 +01:00
warnings-tests.el Use lexical-binding in warnings.el and add tests 2020-08-28 17:33:44 +02:00