Skip to content

Commit b9decdc

Browse files
committed
Make IArray.unapplySeq cross build for 2.12/2.13.
Need to drop the explicit result type since apparently Array's unapplySeq type is different between 2.12 and 2.13.
1 parent c532d3e commit b9decdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src-bootstrapped/scala/IArray.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,5 +192,5 @@ object IArray {
192192
* @param x the selector value
193193
* @return sequence wrapped in a [[scala.Some]], if `x` is a Seq, otherwise `None`
194194
*/
195-
def unapplySeq[T](x: IArray[T]): Option[IndexedSeq[T]] = Array.unapplySeq[T](x.asInstanceOf[Array[T]])
195+
def unapplySeq[T](x: IArray[T]) = Array.unapplySeq[T](x.asInstanceOf[Array[T]])
196196
}

0 commit comments

Comments
 (0)