You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It only happens in certain situations. It can be reproduced using following test:
class PersistentListTest {
@Test
fun `persistent list fails`() {
var xs = persistentListOf(
*(1..1885).map { it }.toTypedArray()
)
xs = xs.removeAll(
(1..1837).map { it }
)
println(xs.size)
xs.forEach {
print(it)
}
}
}
print(it.i) fails with exception
java.lang.ClassCastException: class [Ljava.lang.Object; cannot be cast to class java.lang.Number
([Ljava.lang.Object; and java.lang.Number are in module java.base of loader 'bootstrap')
The text was updated successfully, but these errors were encountered:
It only happens in certain situations. It can be reproduced using following test:
print(it.i)
fails with exceptionThe text was updated successfully, but these errors were encountered: