KT-53778 Remove experimental annotations from open ranges
This commit is contained in:
committed by
Space Team
parent
9953991c4c
commit
b35b727d73
@@ -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
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user