Skip to content

Commit 448e9fc

Browse files
ilya-gSpace Team
authored and
Space Team
committed
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.
1 parent bfeff81 commit 448e9fc

File tree

21 files changed

+345
-2004
lines changed

21 files changed

+345
-2004
lines changed

kotlin-native/runtime/src/main/kotlin/generated/_ArraysNative.kt

+27-27
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ public actual fun <T> Array<out T>?.contentDeepToString(): String {
324324
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
325325
@SinceKotlin("1.1")
326326
@DeprecatedSinceKotlin(hiddenSince = "1.4")
327-
public actual infix fun <T> Array<out T>.contentEquals(other: Array<out T>): Boolean {
327+
public infix fun <T> Array<out T>.contentEquals(other: Array<out T>): Boolean {
328328
return this.contentEquals(other)
329329
}
330330

@@ -338,7 +338,7 @@ public actual infix fun <T> Array<out T>.contentEquals(other: Array<out T>): Boo
338338
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
339339
@SinceKotlin("1.1")
340340
@DeprecatedSinceKotlin(hiddenSince = "1.4")
341-
public actual infix fun ByteArray.contentEquals(other: ByteArray): Boolean {
341+
public infix fun ByteArray.contentEquals(other: ByteArray): Boolean {
342342
return this.contentEquals(other)
343343
}
344344

@@ -352,7 +352,7 @@ public actual infix fun ByteArray.contentEquals(other: ByteArray): Boolean {
352352
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
353353
@SinceKotlin("1.1")
354354
@DeprecatedSinceKotlin(hiddenSince = "1.4")
355-
public actual infix fun ShortArray.contentEquals(other: ShortArray): Boolean {
355+
public infix fun ShortArray.contentEquals(other: ShortArray): Boolean {
356356
return this.contentEquals(other)
357357
}
358358

@@ -366,7 +366,7 @@ public actual infix fun ShortArray.contentEquals(other: ShortArray): Boolean {
366366
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
367367
@SinceKotlin("1.1")
368368
@DeprecatedSinceKotlin(hiddenSince = "1.4")
369-
public actual infix fun IntArray.contentEquals(other: IntArray): Boolean {
369+
public infix fun IntArray.contentEquals(other: IntArray): Boolean {
370370
return this.contentEquals(other)
371371
}
372372

@@ -380,7 +380,7 @@ public actual infix fun IntArray.contentEquals(other: IntArray): Boolean {
380380
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
381381
@SinceKotlin("1.1")
382382
@DeprecatedSinceKotlin(hiddenSince = "1.4")
383-
public actual infix fun LongArray.contentEquals(other: LongArray): Boolean {
383+
public infix fun LongArray.contentEquals(other: LongArray): Boolean {
384384
return this.contentEquals(other)
385385
}
386386

@@ -394,7 +394,7 @@ public actual infix fun LongArray.contentEquals(other: LongArray): Boolean {
394394
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
395395
@SinceKotlin("1.1")
396396
@DeprecatedSinceKotlin(hiddenSince = "1.4")
397-
public actual infix fun FloatArray.contentEquals(other: FloatArray): Boolean {
397+
public infix fun FloatArray.contentEquals(other: FloatArray): Boolean {
398398
return this.contentEquals(other)
399399
}
400400

@@ -408,7 +408,7 @@ public actual infix fun FloatArray.contentEquals(other: FloatArray): Boolean {
408408
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
409409
@SinceKotlin("1.1")
410410
@DeprecatedSinceKotlin(hiddenSince = "1.4")
411-
public actual infix fun DoubleArray.contentEquals(other: DoubleArray): Boolean {
411+
public infix fun DoubleArray.contentEquals(other: DoubleArray): Boolean {
412412
return this.contentEquals(other)
413413
}
414414

@@ -422,7 +422,7 @@ public actual infix fun DoubleArray.contentEquals(other: DoubleArray): Boolean {
422422
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
423423
@SinceKotlin("1.1")
424424
@DeprecatedSinceKotlin(hiddenSince = "1.4")
425-
public actual infix fun BooleanArray.contentEquals(other: BooleanArray): Boolean {
425+
public infix fun BooleanArray.contentEquals(other: BooleanArray): Boolean {
426426
return this.contentEquals(other)
427427
}
428428

@@ -436,7 +436,7 @@ public actual infix fun BooleanArray.contentEquals(other: BooleanArray): Boolean
436436
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
437437
@SinceKotlin("1.1")
438438
@DeprecatedSinceKotlin(hiddenSince = "1.4")
439-
public actual infix fun CharArray.contentEquals(other: CharArray): Boolean {
439+
public infix fun CharArray.contentEquals(other: CharArray): Boolean {
440440
return this.contentEquals(other)
441441
}
442442

@@ -608,7 +608,7 @@ public actual infix fun CharArray?.contentEquals(other: CharArray?): Boolean {
608608
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
609609
@SinceKotlin("1.1")
610610
@DeprecatedSinceKotlin(hiddenSince = "1.4")
611-
public actual fun <T> Array<out T>.contentHashCode(): Int {
611+
public fun <T> Array<out T>.contentHashCode(): Int {
612612
return this.contentHashCode()
613613
}
614614

@@ -618,7 +618,7 @@ public actual fun <T> Array<out T>.contentHashCode(): Int {
618618
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
619619
@SinceKotlin("1.1")
620620
@DeprecatedSinceKotlin(hiddenSince = "1.4")
621-
public actual fun ByteArray.contentHashCode(): Int {
621+
public fun ByteArray.contentHashCode(): Int {
622622
return this.contentHashCode()
623623
}
624624

@@ -628,7 +628,7 @@ public actual fun ByteArray.contentHashCode(): Int {
628628
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
629629
@SinceKotlin("1.1")
630630
@DeprecatedSinceKotlin(hiddenSince = "1.4")
631-
public actual fun ShortArray.contentHashCode(): Int {
631+
public fun ShortArray.contentHashCode(): Int {
632632
return this.contentHashCode()
633633
}
634634

@@ -638,7 +638,7 @@ public actual fun ShortArray.contentHashCode(): Int {
638638
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
639639
@SinceKotlin("1.1")
640640
@DeprecatedSinceKotlin(hiddenSince = "1.4")
641-
public actual fun IntArray.contentHashCode(): Int {
641+
public fun IntArray.contentHashCode(): Int {
642642
return this.contentHashCode()
643643
}
644644

@@ -648,7 +648,7 @@ public actual fun IntArray.contentHashCode(): Int {
648648
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
649649
@SinceKotlin("1.1")
650650
@DeprecatedSinceKotlin(hiddenSince = "1.4")
651-
public actual fun LongArray.contentHashCode(): Int {
651+
public fun LongArray.contentHashCode(): Int {
652652
return this.contentHashCode()
653653
}
654654

@@ -658,7 +658,7 @@ public actual fun LongArray.contentHashCode(): Int {
658658
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
659659
@SinceKotlin("1.1")
660660
@DeprecatedSinceKotlin(hiddenSince = "1.4")
661-
public actual fun FloatArray.contentHashCode(): Int {
661+
public fun FloatArray.contentHashCode(): Int {
662662
return this.contentHashCode()
663663
}
664664

@@ -668,7 +668,7 @@ public actual fun FloatArray.contentHashCode(): Int {
668668
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
669669
@SinceKotlin("1.1")
670670
@DeprecatedSinceKotlin(hiddenSince = "1.4")
671-
public actual fun DoubleArray.contentHashCode(): Int {
671+
public fun DoubleArray.contentHashCode(): Int {
672672
return this.contentHashCode()
673673
}
674674

@@ -678,7 +678,7 @@ public actual fun DoubleArray.contentHashCode(): Int {
678678
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
679679
@SinceKotlin("1.1")
680680
@DeprecatedSinceKotlin(hiddenSince = "1.4")
681-
public actual fun BooleanArray.contentHashCode(): Int {
681+
public fun BooleanArray.contentHashCode(): Int {
682682
return this.contentHashCode()
683683
}
684684

@@ -688,7 +688,7 @@ public actual fun BooleanArray.contentHashCode(): Int {
688688
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
689689
@SinceKotlin("1.1")
690690
@DeprecatedSinceKotlin(hiddenSince = "1.4")
691-
public actual fun CharArray.contentHashCode(): Int {
691+
public fun CharArray.contentHashCode(): Int {
692692
return this.contentHashCode()
693693
}
694694

@@ -808,7 +808,7 @@ public actual fun CharArray?.contentHashCode(): Int {
808808
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
809809
@SinceKotlin("1.1")
810810
@DeprecatedSinceKotlin(hiddenSince = "1.4")
811-
public actual fun <T> Array<out T>.contentToString(): String {
811+
public fun <T> Array<out T>.contentToString(): String {
812812
return this.contentToString()
813813
}
814814

@@ -820,7 +820,7 @@ public actual fun <T> Array<out T>.contentToString(): String {
820820
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
821821
@SinceKotlin("1.1")
822822
@DeprecatedSinceKotlin(hiddenSince = "1.4")
823-
public actual fun ByteArray.contentToString(): String {
823+
public fun ByteArray.contentToString(): String {
824824
return this.contentToString()
825825
}
826826

@@ -832,7 +832,7 @@ public actual fun ByteArray.contentToString(): String {
832832
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
833833
@SinceKotlin("1.1")
834834
@DeprecatedSinceKotlin(hiddenSince = "1.4")
835-
public actual fun ShortArray.contentToString(): String {
835+
public fun ShortArray.contentToString(): String {
836836
return this.contentToString()
837837
}
838838

@@ -844,7 +844,7 @@ public actual fun ShortArray.contentToString(): String {
844844
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
845845
@SinceKotlin("1.1")
846846
@DeprecatedSinceKotlin(hiddenSince = "1.4")
847-
public actual fun IntArray.contentToString(): String {
847+
public fun IntArray.contentToString(): String {
848848
return this.contentToString()
849849
}
850850

@@ -856,7 +856,7 @@ public actual fun IntArray.contentToString(): String {
856856
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
857857
@SinceKotlin("1.1")
858858
@DeprecatedSinceKotlin(hiddenSince = "1.4")
859-
public actual fun LongArray.contentToString(): String {
859+
public fun LongArray.contentToString(): String {
860860
return this.contentToString()
861861
}
862862

@@ -868,7 +868,7 @@ public actual fun LongArray.contentToString(): String {
868868
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
869869
@SinceKotlin("1.1")
870870
@DeprecatedSinceKotlin(hiddenSince = "1.4")
871-
public actual fun FloatArray.contentToString(): String {
871+
public fun FloatArray.contentToString(): String {
872872
return this.contentToString()
873873
}
874874

@@ -880,7 +880,7 @@ public actual fun FloatArray.contentToString(): String {
880880
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
881881
@SinceKotlin("1.1")
882882
@DeprecatedSinceKotlin(hiddenSince = "1.4")
883-
public actual fun DoubleArray.contentToString(): String {
883+
public fun DoubleArray.contentToString(): String {
884884
return this.contentToString()
885885
}
886886

@@ -892,7 +892,7 @@ public actual fun DoubleArray.contentToString(): String {
892892
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
893893
@SinceKotlin("1.1")
894894
@DeprecatedSinceKotlin(hiddenSince = "1.4")
895-
public actual fun BooleanArray.contentToString(): String {
895+
public fun BooleanArray.contentToString(): String {
896896
return this.contentToString()
897897
}
898898

@@ -904,7 +904,7 @@ public actual fun BooleanArray.contentToString(): String {
904904
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
905905
@SinceKotlin("1.1")
906906
@DeprecatedSinceKotlin(hiddenSince = "1.4")
907-
public actual fun CharArray.contentToString(): String {
907+
public fun CharArray.contentToString(): String {
908908
return this.contentToString()
909909
}
910910

kotlin-native/runtime/src/main/kotlin/generated/_UArraysNative.kt

+144
Original file line numberDiff line numberDiff line change
@@ -125,3 +125,147 @@ public actual fun UShortArray.asList(): List<UShort> {
125125
}
126126
}
127127

128+
/**
129+
* Returns `true` if the two specified arrays are *structurally* equal to one another,
130+
* i.e. contain the same number of the same elements in the same order.
131+
*/
132+
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
133+
@SinceKotlin("1.3")
134+
@DeprecatedSinceKotlin(hiddenSince = "1.4")
135+
@ExperimentalUnsignedTypes
136+
public infix fun UIntArray.contentEquals(other: UIntArray): Boolean {
137+
return this.contentEquals(other)
138+
}
139+
140+
/**
141+
* Returns `true` if the two specified arrays are *structurally* equal to one another,
142+
* i.e. contain the same number of the same elements in the same order.
143+
*/
144+
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
145+
@SinceKotlin("1.3")
146+
@DeprecatedSinceKotlin(hiddenSince = "1.4")
147+
@ExperimentalUnsignedTypes
148+
public infix fun ULongArray.contentEquals(other: ULongArray): Boolean {
149+
return this.contentEquals(other)
150+
}
151+
152+
/**
153+
* Returns `true` if the two specified arrays are *structurally* equal to one another,
154+
* i.e. contain the same number of the same elements in the same order.
155+
*/
156+
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
157+
@SinceKotlin("1.3")
158+
@DeprecatedSinceKotlin(hiddenSince = "1.4")
159+
@ExperimentalUnsignedTypes
160+
public infix fun UByteArray.contentEquals(other: UByteArray): Boolean {
161+
return this.contentEquals(other)
162+
}
163+
164+
/**
165+
* Returns `true` if the two specified arrays are *structurally* equal to one another,
166+
* i.e. contain the same number of the same elements in the same order.
167+
*/
168+
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
169+
@SinceKotlin("1.3")
170+
@DeprecatedSinceKotlin(hiddenSince = "1.4")
171+
@ExperimentalUnsignedTypes
172+
public infix fun UShortArray.contentEquals(other: UShortArray): Boolean {
173+
return this.contentEquals(other)
174+
}
175+
176+
/**
177+
* Returns a hash code based on the contents of this array as if it is [List].
178+
*/
179+
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
180+
@SinceKotlin("1.3")
181+
@DeprecatedSinceKotlin(hiddenSince = "1.4")
182+
@ExperimentalUnsignedTypes
183+
public fun UIntArray.contentHashCode(): Int {
184+
return this.contentHashCode()
185+
}
186+
187+
/**
188+
* Returns a hash code based on the contents of this array as if it is [List].
189+
*/
190+
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
191+
@SinceKotlin("1.3")
192+
@DeprecatedSinceKotlin(hiddenSince = "1.4")
193+
@ExperimentalUnsignedTypes
194+
public fun ULongArray.contentHashCode(): Int {
195+
return this.contentHashCode()
196+
}
197+
198+
/**
199+
* Returns a hash code based on the contents of this array as if it is [List].
200+
*/
201+
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
202+
@SinceKotlin("1.3")
203+
@DeprecatedSinceKotlin(hiddenSince = "1.4")
204+
@ExperimentalUnsignedTypes
205+
public fun UByteArray.contentHashCode(): Int {
206+
return this.contentHashCode()
207+
}
208+
209+
/**
210+
* Returns a hash code based on the contents of this array as if it is [List].
211+
*/
212+
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
213+
@SinceKotlin("1.3")
214+
@DeprecatedSinceKotlin(hiddenSince = "1.4")
215+
@ExperimentalUnsignedTypes
216+
public fun UShortArray.contentHashCode(): Int {
217+
return this.contentHashCode()
218+
}
219+
220+
/**
221+
* Returns a string representation of the contents of the specified array as if it is [List].
222+
*
223+
* @sample samples.collections.Arrays.ContentOperations.contentToString
224+
*/
225+
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
226+
@SinceKotlin("1.3")
227+
@DeprecatedSinceKotlin(hiddenSince = "1.4")
228+
@ExperimentalUnsignedTypes
229+
public fun UIntArray.contentToString(): String {
230+
return this.contentToString()
231+
}
232+
233+
/**
234+
* Returns a string representation of the contents of the specified array as if it is [List].
235+
*
236+
* @sample samples.collections.Arrays.ContentOperations.contentToString
237+
*/
238+
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
239+
@SinceKotlin("1.3")
240+
@DeprecatedSinceKotlin(hiddenSince = "1.4")
241+
@ExperimentalUnsignedTypes
242+
public fun ULongArray.contentToString(): String {
243+
return this.contentToString()
244+
}
245+
246+
/**
247+
* Returns a string representation of the contents of the specified array as if it is [List].
248+
*
249+
* @sample samples.collections.Arrays.ContentOperations.contentToString
250+
*/
251+
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
252+
@SinceKotlin("1.3")
253+
@DeprecatedSinceKotlin(hiddenSince = "1.4")
254+
@ExperimentalUnsignedTypes
255+
public fun UByteArray.contentToString(): String {
256+
return this.contentToString()
257+
}
258+
259+
/**
260+
* Returns a string representation of the contents of the specified array as if it is [List].
261+
*
262+
* @sample samples.collections.Arrays.ContentOperations.contentToString
263+
*/
264+
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
265+
@SinceKotlin("1.3")
266+
@DeprecatedSinceKotlin(hiddenSince = "1.4")
267+
@ExperimentalUnsignedTypes
268+
public fun UShortArray.contentToString(): String {
269+
return this.contentToString()
270+
}
271+

0 commit comments

Comments
 (0)