We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f267f91 commit 7b48607Copy full SHA for 7b48607
library/src/scala/runtime/Tuples.scala
@@ -58,6 +58,7 @@ object Tuples {
58
else TupleXXL.fromIArray(xs).asInstanceOf[Tuple]
59
60
def fromProduct(xs: Product): Tuple = (xs.productArity match {
61
+ case 0 => EmptyTuple
62
case 1 =>
63
xs match {
64
case xs: Tuple1[_] => xs
0 commit comments