Generate optimized hashCode for primitive type with jvmTarget 1.8+
#KT-7571 Fixed
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
fun box(): String {
|
||||
true.hashCode()
|
||||
1.toByte().hashCode()
|
||||
1.toChar().hashCode()
|
||||
1.toShort().hashCode()
|
||||
1.hashCode()
|
||||
1L.hashCode()
|
||||
1.0F.hashCode()
|
||||
1.0.hashCode()
|
||||
"".hashCode()
|
||||
|
||||
return "OK"
|
||||
}
|
||||
|
||||
// 9 \.hashCode
|
||||
// 9 \.hashCode \(\)I
|
||||
Reference in New Issue
Block a user