From 7a0230dd796c3e29918df0d5123d4a5ca50b8e01 Mon Sep 17 00:00:00 2001 From: Eugene Flesselle Date: Mon, 29 Jul 2024 10:43:08 +0200 Subject: [PATCH] Drop `Tuple.Zip` unreachable match type case Addressing #19175 --- library/src/scala/Tuple.scala | 1 - 1 file changed, 1 deletion(-) diff --git a/library/src/scala/Tuple.scala b/library/src/scala/Tuple.scala index 8074fe3664e5..c4e04359a3e1 100644 --- a/library/src/scala/Tuple.scala +++ b/library/src/scala/Tuple.scala @@ -183,7 +183,6 @@ object Tuple { case (h1 *: t1, h2 *: t2) => (h1, h2) *: Zip[t1, t2] case (EmptyTuple, _) => EmptyTuple case (_, EmptyTuple) => EmptyTuple - case _ => Tuple } /** Converts a tuple `(F[T1], ..., F[Tn])` to `(T1, ... Tn)` */