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 0a62671 commit 5f134a8Copy full SHA for 5f134a8
library/src/scala/deriving.scala
@@ -64,7 +64,7 @@ object deriving {
64
}
65
66
/** The empty product */
67
- object EmptyProduct extends ArrayProduct(Array[AnyRef]())
+ object EmptyProduct extends ArrayProduct(Array.emptyObjectArray)
68
69
/** Helper method to select a product element */
70
def productElement[T](x: Any, idx: Int) =
0 commit comments