emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `thunk-let'?


From: Michael Heerdegen
Subject: Re: `thunk-let'?
Date: Wed, 22 Nov 2017 19:31:42 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Noam Postavsky <address@hidden> writes:

> Binding `byte-compile-debug' to non-nil should let it signal errors.

I've changed the test to

#+begin_src emacs-lisp
(ert-deftest thunk-let-bad-binding-test ()
  "Test whether a bad binding causes a compiler error."
  (let ((byte-compile-debug t))
    (should-error (byte-compile '(thunk-let ((x 1 1)) x)))
    (should-error (byte-compile '(thunk-let (27) x)))
    (should-error (byte-compile '(thunk-let x x)))))
#+end_src


Thanks,

Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]