Sam Stone
HashMap.putAll
IllegalStateException: This cannot happen with fixed magic multiplier and grow-only hash array. Have object hashCodes changed?
data class Foo( val a: List<Int> ) val map = hashMapOf<Foo>() fun populateMap(item: Wrapper<Foo>) { map.clear() map.putAll(item.foo.a) }
A modern programming language that makes developers happier.