Drop functions hidden since 1.4 (inline-only or experimental in JVM)
Since it's no longer possible to use API version less than 1.4, these functions can be no longer called at all.
This commit is contained in:
committed by
Space Team
parent
bfeff81867
commit
448e9fc5e7
@@ -88,6 +88,7 @@ object ArrayOps : TemplateGroupBase() {
|
||||
}
|
||||
|
||||
val f_contentEquals = fn("contentEquals(other: SELF)") {
|
||||
platforms(Platform.Native)
|
||||
include(ArraysOfObjects, ArraysOfPrimitives, ArraysOfUnsigned)
|
||||
} builder {
|
||||
since("1.1")
|
||||
@@ -110,9 +111,6 @@ object ArrayOps : TemplateGroupBase() {
|
||||
For floating point numbers it means that `NaN` is equal to itself and `-0.0` is not equal to `0.0`.
|
||||
"""
|
||||
}
|
||||
on(Platform.JVM) {
|
||||
inlineOnly()
|
||||
}
|
||||
}
|
||||
|
||||
val f_contentEquals_nullable = fn("contentEquals(other: SELF?)") {
|
||||
@@ -141,7 +139,6 @@ object ArrayOps : TemplateGroupBase() {
|
||||
}
|
||||
on(Platform.JVM) {
|
||||
inlineOnly()
|
||||
annotation("""@JvmName("contentEqualsNullable")""")
|
||||
body { "return java.util.Arrays.equals(this, other)" }
|
||||
}
|
||||
|
||||
@@ -249,6 +246,7 @@ object ArrayOps : TemplateGroupBase() {
|
||||
}
|
||||
|
||||
val f_contentToString = fn("contentToString()") {
|
||||
platforms(Platform.Native)
|
||||
include(ArraysOfObjects, ArraysOfPrimitives, ArraysOfUnsigned)
|
||||
} builder {
|
||||
since("1.1")
|
||||
@@ -264,9 +262,6 @@ object ArrayOps : TemplateGroupBase() {
|
||||
if (f == ArraysOfUnsigned) {
|
||||
return@builder
|
||||
}
|
||||
on(Platform.JVM) {
|
||||
inlineOnly()
|
||||
}
|
||||
}
|
||||
|
||||
val f_contentToString_nullable = fn("contentToString()") {
|
||||
@@ -288,7 +283,6 @@ object ArrayOps : TemplateGroupBase() {
|
||||
|
||||
on(Platform.JVM) {
|
||||
inlineOnly()
|
||||
annotation("""@JvmName("contentToStringNullable")""")
|
||||
body { "return java.util.Arrays.toString(this)" }
|
||||
}
|
||||
on(Platform.JS) {
|
||||
@@ -371,6 +365,7 @@ object ArrayOps : TemplateGroupBase() {
|
||||
}
|
||||
|
||||
val f_contentHashCode = fn("contentHashCode()") {
|
||||
platforms(Platform.Native)
|
||||
include(ArraysOfObjects, ArraysOfPrimitives, ArraysOfUnsigned)
|
||||
} builder {
|
||||
since("1.1")
|
||||
@@ -383,9 +378,6 @@ object ArrayOps : TemplateGroupBase() {
|
||||
if (f == ArraysOfUnsigned) {
|
||||
return@builder
|
||||
}
|
||||
on(Platform.JVM) {
|
||||
inlineOnly()
|
||||
}
|
||||
}
|
||||
|
||||
val f_contentHashCode_nullable = fn("contentHashCode()") {
|
||||
@@ -404,7 +396,6 @@ object ArrayOps : TemplateGroupBase() {
|
||||
|
||||
on(Platform.JVM) {
|
||||
inlineOnly()
|
||||
annotation("""@JvmName("contentHashCodeNullable")""")
|
||||
body { "return java.util.Arrays.hashCode(this)" }
|
||||
}
|
||||
on(Platform.JS) {
|
||||
|
||||
Reference in New Issue
Block a user