It seems recent Kotlin versions are generating code that relies on the Java 1.8 static hashCode(x) functions which are not present in the libcore implementation, which results in "method not found" errors e.g. when using a data class with double members in a hashed collection.
This PR adds those functions for Double, Float, Long, Integer and Short.
It seems recent Kotlin versions are generating code that relies on the Java 1.8 static
hashCode(x)
functions which are not present in the libcore implementation, which results in "method not found" errors e.g. when using a data class with double members in a hashed collection.This PR adds those functions for Double, Float, Long, Integer and Short.