|
From: | Stefan Monnier |
Subject: | Re: Zero byte-compiler warnings in the test suite |
Date: | Wed, 22 Dec 2021 12:40:54 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
>> The test expects the error to be signal'd at run time whereas the >> compiler macro prefers to signal the error right away. >> As a bias observer, I'd suggest to fix the test rather than the compiler >> macro ;-) > > How do we usually test compiler macros? I guess we should create a > separate file and try to byte-compile it? I'd do something like (should-error (macroexpand-all '(pcase ...))) -- Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |