Maybe Scala compiler can not determine that using which one here: Arrays.hashCode(Object[]), Arrays.hashCode(int[]), or Arrays.hashCode(double[])...