KT-53778 Remove experimental annotations from open ranges

This commit is contained in:
Ilya Gorbunov
2023-04-11 18:42:07 +02:00
committed by Space Team
parent 9953991c4c
commit b35b727d73
42 changed files with 516 additions and 540 deletions
+8 -8
View File
@@ -276,8 +276,8 @@ public class Long internal constructor(
*
* If the [other] value is less than or equal to `this` value, then the returned range is empty.
*/
@SinceKotlin("1.7")
@ExperimentalStdlibApi
@SinceKotlin("1.9")
@WasExperimental(ExperimentalStdlibApi::class)
public operator fun rangeUntil(other: Byte): LongRange = this until other
/**
@@ -285,8 +285,8 @@ public class Long internal constructor(
*
* If the [other] value is less than or equal to `this` value, then the returned range is empty.
*/
@SinceKotlin("1.7")
@ExperimentalStdlibApi
@SinceKotlin("1.9")
@WasExperimental(ExperimentalStdlibApi::class)
public operator fun rangeUntil(other: Short): LongRange = this until other
/**
@@ -294,8 +294,8 @@ public class Long internal constructor(
*
* If the [other] value is less than or equal to `this` value, then the returned range is empty.
*/
@SinceKotlin("1.7")
@ExperimentalStdlibApi
@SinceKotlin("1.9")
@WasExperimental(ExperimentalStdlibApi::class)
public operator fun rangeUntil(other: Int): LongRange = this until other
/**
@@ -303,8 +303,8 @@ public class Long internal constructor(
*
* If the [other] value is less than or equal to `this` value, then the returned range is empty.
*/
@SinceKotlin("1.7")
@ExperimentalStdlibApi
@SinceKotlin("1.9")
@WasExperimental(ExperimentalStdlibApi::class)
public operator fun rangeUntil(other: Long): LongRange = this until other
/**