|
From: | Stefan Monnier |
Subject: | bug#35770: [PATCH] Broken duplicate case elimination in switch byte-compilation |
Date: | Fri, 17 May 2019 08:16:30 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> * lisp/emacs-lisp/bytecomp.el (byte-compile-cond-vars): Return obj2 eval'ed. > (byte-compile-cond-jump-table-info): > Discard redundant condition. Use `obj2' as evaluated. > Discard duplicated cases instead of failing the table generation. The patch looks fine, but could you add corresponding regression tests? Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |