Subject: Re: [PATCH] Broken duplicate case elimination in switch byte-compilation

From: Stefan Monnier <[email-masked]>
Date: Fri, 17 May 2019 08:16:30 -0400

> * 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