Skip to content

Commit 832213b

Browse files
committed
[TODO INVESTIGATE] IArray: Array[AnyRef^{xs*}] not working, revert cast
1 parent c422455 commit 832213b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/scala/IArray.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ object IArray:
609609
* @return true if corresponding elements are equal
610610
*/
611611
def equals(xs: IArray[AnyRef^], ys: IArray[AnyRef^]): Boolean =
612-
Array.equals(xs.asInstanceOf[Array[AnyRef^{xs*}]], ys.asInstanceOf[Array[AnyRef^{ys*}]])
612+
Array.equals(xs.asInstanceOf[Array[AnyRef^{xs}]], ys.asInstanceOf[Array[AnyRef^{ys}]])
613613

614614
/** Returns a decomposition of the array into a sequence. This supports
615615
* a pattern match like `{ case IArray(x,y,z) => println('3 elements')}`.

0 commit comments

Comments
 (0)