[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `thunk-let'?
From: |
Gemini Lasswell |
Subject: |
Re: `thunk-let'? |
Date: |
Wed, 22 Nov 2017 09:44:01 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) |
Michael Heerdegen <address@hidden> writes:
> + (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))))
Since the thunk-let forms aren't quoted, should-error is catching the
evaluation error of the thunk-let form before byte-compile is called.
And to my knowledge byte-compile doesn't signal errors, just issues
warnings.
It's also better to have the erroneous forms be quoted so that they
don't cause errors when using Edebug or Testcover on thunk-tests.el.
- Re: `thunk-let'?, (continued)
- Re: `thunk-let'?, Michael Heerdegen, 2017/11/27
- Re: `thunk-let'?, Stefan Monnier, 2017/11/27
- Re: `thunk-let'?, Eli Zaretskii, 2017/11/27
- Re: `thunk-let'?, Michael Heerdegen, 2017/11/30
- Re: `thunk-let'?, Eli Zaretskii, 2017/11/24
- Re: `thunk-let'?, Michael Heerdegen, 2017/11/30
- Re: `thunk-let'?, Eli Zaretskii, 2017/11/30
- Re: `thunk-let'?, Eli Zaretskii, 2017/11/23
- Re: `thunk-let'?,
Gemini Lasswell <=
- Re: `thunk-let'?, Noam Postavsky, 2017/11/22
- Re: `thunk-let'?, Michael Heerdegen, 2017/11/22
- Re: `thunk-let'?, Michael Heerdegen, 2017/11/22
- Re: `thunk-let'?, Stefan Monnier, 2017/11/22
- Re: `thunk-let'?, Michael Heerdegen, 2017/11/22
- Re: [SUSPECTED SPAM] Re: `thunk-let'?, Eli Zaretskii, 2017/11/10
Re: [SUSPECTED SPAM] Re: `thunk-let'?, Eli Zaretskii, 2017/11/08