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 af7d5a3 commit 8f2ba61Copy full SHA for 8f2ba61
library/src/scala/collection/mutable/WrappedArrayBuilder.scala
@@ -129,7 +129,7 @@ private [mutable] object WrappedArrayBuilder {
129
case java.lang.Boolean.TYPE => new WrappedArray.ofBoolean(Array.emptyBooleanArray)
130
case java.lang.Void.TYPE => new WrappedArray.ofUnit(Array.emptyUnitArray)
131
}
132
- else new WrappedArray.ofRef(Array.empty.asInstanceOf[Array[_ <: AnyRef]])
+ else new WrappedArray.ofRef(Array.empty[AnyRef])
133
134
135
0 commit comments