`HashMap.putAll` threw the following exception (li...
# kotlin-native
s
HashMap.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:
Copy code
data class Foo(
    val a: List<Int>
)
val map = hashMapOf<Foo>()
fun populateMap(item: Wrapper<Foo>) {
    map.clear()
    map.putAll(item.foo.a)
}