Remove rangeUntil extensions that are now shadowed by members #KT-52933
This commit is contained in:
@@ -571,31 +571,6 @@ public operator fun kotlin.Float.rangeTo(that: kotlin.Float): kotlin.ranges.Clos
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
public operator fun <T : kotlin.Comparable<T>> T.rangeUntil(that: T): kotlin.ranges.OpenEndRange<T>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Byte.rangeUntil(to: kotlin.Byte): kotlin.ranges.IntRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Byte.rangeUntil(to: kotlin.Int): kotlin.ranges.IntRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Byte.rangeUntil(to: kotlin.Long): kotlin.ranges.LongRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Byte.rangeUntil(to: kotlin.Short): kotlin.ranges.IntRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Char.rangeUntil(to: kotlin.Char): kotlin.ranges.CharRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
public operator fun kotlin.Double.rangeUntil(that: kotlin.Double): kotlin.ranges.OpenEndRange<kotlin.Double>
|
||||
@@ -604,86 +579,6 @@ public operator fun kotlin.Double.rangeUntil(that: kotlin.Double): kotlin.ranges
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
public operator fun kotlin.Float.rangeUntil(that: kotlin.Float): kotlin.ranges.OpenEndRange<kotlin.Float>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Int.rangeUntil(to: kotlin.Byte): kotlin.ranges.IntRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Int.rangeUntil(to: kotlin.Int): kotlin.ranges.IntRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Int.rangeUntil(to: kotlin.Long): kotlin.ranges.LongRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Int.rangeUntil(to: kotlin.Short): kotlin.ranges.IntRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Long.rangeUntil(to: kotlin.Byte): kotlin.ranges.LongRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Long.rangeUntil(to: kotlin.Int): kotlin.ranges.LongRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Long.rangeUntil(to: kotlin.Long): kotlin.ranges.LongRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Long.rangeUntil(to: kotlin.Short): kotlin.ranges.LongRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Short.rangeUntil(to: kotlin.Byte): kotlin.ranges.IntRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Short.rangeUntil(to: kotlin.Int): kotlin.ranges.IntRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Short.rangeUntil(to: kotlin.Long): kotlin.ranges.LongRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Short.rangeUntil(to: kotlin.Short): kotlin.ranges.IntRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.UByte.rangeUntil(to: kotlin.UByte): kotlin.ranges.UIntRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.UInt.rangeUntil(to: kotlin.UInt): kotlin.ranges.UIntRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.ULong.rangeUntil(to: kotlin.ULong): kotlin.ranges.ULongRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.UShort.rangeUntil(to: kotlin.UShort): kotlin.ranges.UIntRange
|
||||
|
||||
public fun kotlin.ranges.CharProgression.reversed(): kotlin.ranges.CharProgression
|
||||
|
||||
public fun kotlin.ranges.IntProgression.reversed(): kotlin.ranges.IntProgression
|
||||
|
||||
@@ -571,31 +571,6 @@ public operator fun kotlin.Float.rangeTo(that: kotlin.Float): kotlin.ranges.Clos
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
public operator fun <T : kotlin.Comparable<T>> T.rangeUntil(that: T): kotlin.ranges.OpenEndRange<T>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Byte.rangeUntil(to: kotlin.Byte): kotlin.ranges.IntRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Byte.rangeUntil(to: kotlin.Int): kotlin.ranges.IntRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Byte.rangeUntil(to: kotlin.Long): kotlin.ranges.LongRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Byte.rangeUntil(to: kotlin.Short): kotlin.ranges.IntRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Char.rangeUntil(to: kotlin.Char): kotlin.ranges.CharRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
public operator fun kotlin.Double.rangeUntil(that: kotlin.Double): kotlin.ranges.OpenEndRange<kotlin.Double>
|
||||
@@ -604,86 +579,6 @@ public operator fun kotlin.Double.rangeUntil(that: kotlin.Double): kotlin.ranges
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
public operator fun kotlin.Float.rangeUntil(that: kotlin.Float): kotlin.ranges.OpenEndRange<kotlin.Float>
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Int.rangeUntil(to: kotlin.Byte): kotlin.ranges.IntRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Int.rangeUntil(to: kotlin.Int): kotlin.ranges.IntRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Int.rangeUntil(to: kotlin.Long): kotlin.ranges.LongRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Int.rangeUntil(to: kotlin.Short): kotlin.ranges.IntRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Long.rangeUntil(to: kotlin.Byte): kotlin.ranges.LongRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Long.rangeUntil(to: kotlin.Int): kotlin.ranges.LongRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Long.rangeUntil(to: kotlin.Long): kotlin.ranges.LongRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Long.rangeUntil(to: kotlin.Short): kotlin.ranges.LongRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Short.rangeUntil(to: kotlin.Byte): kotlin.ranges.IntRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Short.rangeUntil(to: kotlin.Int): kotlin.ranges.IntRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Short.rangeUntil(to: kotlin.Long): kotlin.ranges.LongRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.Short.rangeUntil(to: kotlin.Short): kotlin.ranges.IntRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.UByte.rangeUntil(to: kotlin.UByte): kotlin.ranges.UIntRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.UInt.rangeUntil(to: kotlin.UInt): kotlin.ranges.UIntRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.ULong.rangeUntil(to: kotlin.ULong): kotlin.ranges.ULongRange
|
||||
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
@kotlin.ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline operator fun kotlin.UShort.rangeUntil(to: kotlin.UShort): kotlin.ranges.UIntRange
|
||||
|
||||
public fun kotlin.ranges.CharProgression.reversed(): kotlin.ranges.CharProgression
|
||||
|
||||
public fun kotlin.ranges.IntProgression.reversed(): kotlin.ranges.IntProgression
|
||||
|
||||
@@ -938,227 +938,6 @@ public infix fun Short.downTo(to: Short): IntProgression {
|
||||
return IntProgression.fromClosedRange(this.toInt(), to.toInt(), -1)
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a range from this value up to but excluding the specified [to] value.
|
||||
*
|
||||
* If the [to] value is less than or equal to `this` value, then the returned range is empty.
|
||||
*/
|
||||
@SinceKotlin("1.7")
|
||||
@ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
|
||||
public inline operator fun Int.rangeUntil(to: Byte): IntRange {
|
||||
return until(to)
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a range from this value up to but excluding the specified [to] value.
|
||||
*
|
||||
* If the [to] value is less than or equal to `this` value, then the returned range is empty.
|
||||
*/
|
||||
@SinceKotlin("1.7")
|
||||
@ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
|
||||
public inline operator fun Long.rangeUntil(to: Byte): LongRange {
|
||||
return until(to)
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a range from this value up to but excluding the specified [to] value.
|
||||
*
|
||||
* If the [to] value is less than or equal to `this` value, then the returned range is empty.
|
||||
*/
|
||||
@SinceKotlin("1.7")
|
||||
@ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
|
||||
public inline operator fun Byte.rangeUntil(to: Byte): IntRange {
|
||||
return until(to)
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a range from this value up to but excluding the specified [to] value.
|
||||
*
|
||||
* If the [to] value is less than or equal to `this` value, then the returned range is empty.
|
||||
*/
|
||||
@SinceKotlin("1.7")
|
||||
@ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
|
||||
public inline operator fun Short.rangeUntil(to: Byte): IntRange {
|
||||
return until(to)
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a range from this value up to but excluding the specified [to] value.
|
||||
*
|
||||
* If the [to] value is less than or equal to `this` value, then the returned range is empty.
|
||||
*/
|
||||
@SinceKotlin("1.7")
|
||||
@ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
|
||||
public inline operator fun Char.rangeUntil(to: Char): CharRange {
|
||||
return until(to)
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a range from this value up to but excluding the specified [to] value.
|
||||
*
|
||||
* If the [to] value is less than or equal to `this` value, then the returned range is empty.
|
||||
*/
|
||||
@SinceKotlin("1.7")
|
||||
@ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
|
||||
public inline operator fun Int.rangeUntil(to: Int): IntRange {
|
||||
return until(to)
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a range from this value up to but excluding the specified [to] value.
|
||||
*
|
||||
* If the [to] value is less than or equal to `this` value, then the returned range is empty.
|
||||
*/
|
||||
@SinceKotlin("1.7")
|
||||
@ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
|
||||
public inline operator fun Long.rangeUntil(to: Int): LongRange {
|
||||
return until(to)
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a range from this value up to but excluding the specified [to] value.
|
||||
*
|
||||
* If the [to] value is less than or equal to `this` value, then the returned range is empty.
|
||||
*/
|
||||
@SinceKotlin("1.7")
|
||||
@ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
|
||||
public inline operator fun Byte.rangeUntil(to: Int): IntRange {
|
||||
return until(to)
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a range from this value up to but excluding the specified [to] value.
|
||||
*
|
||||
* If the [to] value is less than or equal to `this` value, then the returned range is empty.
|
||||
*/
|
||||
@SinceKotlin("1.7")
|
||||
@ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
|
||||
public inline operator fun Short.rangeUntil(to: Int): IntRange {
|
||||
return until(to)
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a range from this value up to but excluding the specified [to] value.
|
||||
*
|
||||
* If the [to] value is less than or equal to `this` value, then the returned range is empty.
|
||||
*/
|
||||
@SinceKotlin("1.7")
|
||||
@ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
|
||||
public inline operator fun Int.rangeUntil(to: Long): LongRange {
|
||||
return until(to)
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a range from this value up to but excluding the specified [to] value.
|
||||
*
|
||||
* If the [to] value is less than or equal to `this` value, then the returned range is empty.
|
||||
*/
|
||||
@SinceKotlin("1.7")
|
||||
@ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
|
||||
public inline operator fun Long.rangeUntil(to: Long): LongRange {
|
||||
return until(to)
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a range from this value up to but excluding the specified [to] value.
|
||||
*
|
||||
* If the [to] value is less than or equal to `this` value, then the returned range is empty.
|
||||
*/
|
||||
@SinceKotlin("1.7")
|
||||
@ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
|
||||
public inline operator fun Byte.rangeUntil(to: Long): LongRange {
|
||||
return until(to)
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a range from this value up to but excluding the specified [to] value.
|
||||
*
|
||||
* If the [to] value is less than or equal to `this` value, then the returned range is empty.
|
||||
*/
|
||||
@SinceKotlin("1.7")
|
||||
@ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
|
||||
public inline operator fun Short.rangeUntil(to: Long): LongRange {
|
||||
return until(to)
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a range from this value up to but excluding the specified [to] value.
|
||||
*
|
||||
* If the [to] value is less than or equal to `this` value, then the returned range is empty.
|
||||
*/
|
||||
@SinceKotlin("1.7")
|
||||
@ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
|
||||
public inline operator fun Int.rangeUntil(to: Short): IntRange {
|
||||
return until(to)
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a range from this value up to but excluding the specified [to] value.
|
||||
*
|
||||
* If the [to] value is less than or equal to `this` value, then the returned range is empty.
|
||||
*/
|
||||
@SinceKotlin("1.7")
|
||||
@ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
|
||||
public inline operator fun Long.rangeUntil(to: Short): LongRange {
|
||||
return until(to)
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a range from this value up to but excluding the specified [to] value.
|
||||
*
|
||||
* If the [to] value is less than or equal to `this` value, then the returned range is empty.
|
||||
*/
|
||||
@SinceKotlin("1.7")
|
||||
@ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
|
||||
public inline operator fun Byte.rangeUntil(to: Short): IntRange {
|
||||
return until(to)
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a range from this value up to but excluding the specified [to] value.
|
||||
*
|
||||
* If the [to] value is less than or equal to `this` value, then the returned range is empty.
|
||||
*/
|
||||
@SinceKotlin("1.7")
|
||||
@ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
|
||||
public inline operator fun Short.rangeUntil(to: Short): IntRange {
|
||||
return until(to)
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a progression that goes over the same range in the opposite direction with the same step.
|
||||
*/
|
||||
|
||||
@@ -325,58 +325,6 @@ public infix fun UShort.downTo(to: UShort): UIntProgression {
|
||||
return UIntProgression.fromClosedRange(this.toUInt(), to.toUInt(), -1)
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a range from this value up to but excluding the specified [to] value.
|
||||
*
|
||||
* If the [to] value is less than or equal to `this` value, then the returned range is empty.
|
||||
*/
|
||||
@SinceKotlin("1.7")
|
||||
@ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
|
||||
public inline operator fun UByte.rangeUntil(to: UByte): UIntRange {
|
||||
return until(to)
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a range from this value up to but excluding the specified [to] value.
|
||||
*
|
||||
* If the [to] value is less than or equal to `this` value, then the returned range is empty.
|
||||
*/
|
||||
@SinceKotlin("1.7")
|
||||
@ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
|
||||
public inline operator fun UInt.rangeUntil(to: UInt): UIntRange {
|
||||
return until(to)
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a range from this value up to but excluding the specified [to] value.
|
||||
*
|
||||
* If the [to] value is less than or equal to `this` value, then the returned range is empty.
|
||||
*/
|
||||
@SinceKotlin("1.7")
|
||||
@ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
|
||||
public inline operator fun ULong.rangeUntil(to: ULong): ULongRange {
|
||||
return until(to)
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a range from this value up to but excluding the specified [to] value.
|
||||
*
|
||||
* If the [to] value is less than or equal to `this` value, then the returned range is empty.
|
||||
*/
|
||||
@SinceKotlin("1.7")
|
||||
@ExperimentalStdlibApi
|
||||
@kotlin.internal.InlineOnly
|
||||
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
|
||||
public inline operator fun UShort.rangeUntil(to: UShort): UIntRange {
|
||||
return until(to)
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a progression that goes over the same range in the opposite direction with the same step.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user