Sam Stone
05/06/2024, 5:36 AMHashMap.putAll
threw the following exception (line 305): IllegalStateException: This cannot happen with fixed magic multiplier and grow-only hash array. Have object hashCodes changed?
The function that threw this exception:
data class Foo(
val a: List<Int>
)
val map = hashMapOf<Foo>()
fun populateMap(item: Wrapper<Foo>) {
map.clear()
map.putAll(item.foo.a)
}