Skip to content

Commit b35b727

Browse files
ilya-gSpace Team
authored and
Space Team
committed
KT-53778 Remove experimental annotations from open ranges
1 parent 9953991 commit b35b727

File tree

42 files changed

+516
-540
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+516
-540
lines changed

analysis/analysis-api/testData/components/scopeProvider/memberScopeByFqName/Int.pretty.txt

+8-8
Original file line numberDiff line numberDiff line change
@@ -94,20 +94,20 @@ operator fun rangeTo(other: kotlin.Long): kotlin.ranges.LongRange
9494

9595
operator fun rangeTo(other: kotlin.Short): kotlin.ranges.IntRange
9696

97-
@kotlin.SinceKotlin(version = "1.7")
98-
@kotlin.ExperimentalStdlibApi
97+
@kotlin.SinceKotlin(version = "1.9")
98+
@kotlin.WasExperimental(markerClass = [UNRESOLVED_CLASS::class])
9999
operator fun rangeUntil(other: kotlin.Byte): kotlin.ranges.IntRange
100100

101-
@kotlin.SinceKotlin(version = "1.7")
102-
@kotlin.ExperimentalStdlibApi
101+
@kotlin.SinceKotlin(version = "1.9")
102+
@kotlin.WasExperimental(markerClass = [UNRESOLVED_CLASS::class])
103103
operator fun rangeUntil(other: kotlin.Int): kotlin.ranges.IntRange
104104

105-
@kotlin.SinceKotlin(version = "1.7")
106-
@kotlin.ExperimentalStdlibApi
105+
@kotlin.SinceKotlin(version = "1.9")
106+
@kotlin.WasExperimental(markerClass = [UNRESOLVED_CLASS::class])
107107
operator fun rangeUntil(other: kotlin.Long): kotlin.ranges.LongRange
108108

109-
@kotlin.SinceKotlin(version = "1.7")
110-
@kotlin.ExperimentalStdlibApi
109+
@kotlin.SinceKotlin(version = "1.9")
110+
@kotlin.WasExperimental(markerClass = [UNRESOLVED_CLASS::class])
111111
operator fun rangeUntil(other: kotlin.Short): kotlin.ranges.IntRange
112112

113113
@kotlin.SinceKotlin(version = "1.1")

analysis/analysis-api/testData/components/scopeProvider/memberScopeByFqName/Int.txt

+8-8
Original file line numberDiff line numberDiff line change
@@ -1953,9 +1953,9 @@ KtFunctionSymbol:
19531953

19541954
KtFunctionSymbol:
19551955
annotationsList: [
1956-
kotlin/SinceKotlin(version = "1.7")
1956+
kotlin/SinceKotlin(version = "1.9")
19571957
psi: null
1958-
kotlin/ExperimentalStdlibApi()
1958+
kotlin/WasExperimental(markerClass = [UNRESOLVED_CLASS::class])
19591959
psi: null
19601960
]
19611961
callableIdIfNonLocal: kotlin/Int.rangeUntil
@@ -2015,9 +2015,9 @@ KtFunctionSymbol:
20152015

20162016
KtFunctionSymbol:
20172017
annotationsList: [
2018-
kotlin/SinceKotlin(version = "1.7")
2018+
kotlin/SinceKotlin(version = "1.9")
20192019
psi: null
2020-
kotlin/ExperimentalStdlibApi()
2020+
kotlin/WasExperimental(markerClass = [UNRESOLVED_CLASS::class])
20212021
psi: null
20222022
]
20232023
callableIdIfNonLocal: kotlin/Int.rangeUntil
@@ -2077,9 +2077,9 @@ KtFunctionSymbol:
20772077

20782078
KtFunctionSymbol:
20792079
annotationsList: [
2080-
kotlin/SinceKotlin(version = "1.7")
2080+
kotlin/SinceKotlin(version = "1.9")
20812081
psi: null
2082-
kotlin/ExperimentalStdlibApi()
2082+
kotlin/WasExperimental(markerClass = [UNRESOLVED_CLASS::class])
20832083
psi: null
20842084
]
20852085
callableIdIfNonLocal: kotlin/Int.rangeUntil
@@ -2139,9 +2139,9 @@ KtFunctionSymbol:
21392139

21402140
KtFunctionSymbol:
21412141
annotationsList: [
2142-
kotlin/SinceKotlin(version = "1.7")
2142+
kotlin/SinceKotlin(version = "1.9")
21432143
psi: null
2144-
kotlin/ExperimentalStdlibApi()
2144+
kotlin/WasExperimental(markerClass = [UNRESOLVED_CLASS::class])
21452145
psi: null
21462146
]
21472147
callableIdIfNonLocal: kotlin/Int.rangeUntil

compiler/fir/analysis-tests/testData/builtIns/kotlin-ranges.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public final class CharRange : R|kotlin/ranges/CharProgression|, R|kotlin/ranges
6363

6464
public open fun toString(): R|kotlin/String|
6565

66-
@PROPERTY:R|kotlin/Deprecated|(message = String(Can throw an exception when it's impossible to represent the value with Char type, for example, when the range includes MAX_VALUE. It's recommended to use 'endInclusive' property that doesn't throw.)) @PROPERTY:R|kotlin/SinceKotlin|(version = String(1.7)) @PROPERTY:R|kotlin/ExperimentalStdlibApi|() public open val endExclusive: R|kotlin/Char|
66+
@PROPERTY:R|kotlin/Deprecated|(message = String(Can throw an exception when it's impossible to represent the value with Char type, for example, when the range includes MAX_VALUE. It's recommended to use 'endInclusive' property that doesn't throw.)) @PROPERTY:R|kotlin/SinceKotlin|(version = String(1.9)) @PROPERTY:R|kotlin/WasExperimental|(markerClass = <implicitArrayOf>(<getClass>(<getClass>(R|kotlin/ExperimentalStdlibApi|)))) public open val endExclusive: R|kotlin/Char|
6767
public get(): R|kotlin/Char|
6868

6969
public open val endInclusive: R|kotlin/Char|
@@ -162,7 +162,7 @@ public final class IntRange : R|kotlin/ranges/IntProgression|, R|kotlin/ranges/C
162162

163163
public open fun toString(): R|kotlin/String|
164164

165-
@PROPERTY:R|kotlin/Deprecated|(message = String(Can throw an exception when it's impossible to represent the value with Int type, for example, when the range includes MAX_VALUE. It's recommended to use 'endInclusive' property that doesn't throw.)) @PROPERTY:R|kotlin/SinceKotlin|(version = String(1.7)) @PROPERTY:R|kotlin/ExperimentalStdlibApi|() public open val endExclusive: R|kotlin/Int|
165+
@PROPERTY:R|kotlin/Deprecated|(message = String(Can throw an exception when it's impossible to represent the value with Int type, for example, when the range includes MAX_VALUE. It's recommended to use 'endInclusive' property that doesn't throw.)) @PROPERTY:R|kotlin/SinceKotlin|(version = String(1.9)) @PROPERTY:R|kotlin/WasExperimental|(markerClass = <implicitArrayOf>(<getClass>(<getClass>(R|kotlin/ExperimentalStdlibApi|)))) public open val endExclusive: R|kotlin/Int|
166166
public get(): R|kotlin/Int|
167167

168168
public open val endInclusive: R|kotlin/Int|
@@ -248,7 +248,7 @@ public final class LongRange : R|kotlin/ranges/LongProgression|, R|kotlin/ranges
248248

249249
public open fun toString(): R|kotlin/String|
250250

251-
@PROPERTY:R|kotlin/Deprecated|(message = String(Can throw an exception when it's impossible to represent the value with Long type, for example, when the range includes MAX_VALUE. It's recommended to use 'endInclusive' property that doesn't throw.)) @PROPERTY:R|kotlin/SinceKotlin|(version = String(1.7)) @PROPERTY:R|kotlin/ExperimentalStdlibApi|() public open val endExclusive: R|kotlin/Long|
251+
@PROPERTY:R|kotlin/Deprecated|(message = String(Can throw an exception when it's impossible to represent the value with Long type, for example, when the range includes MAX_VALUE. It's recommended to use 'endInclusive' property that doesn't throw.)) @PROPERTY:R|kotlin/SinceKotlin|(version = String(1.9)) @PROPERTY:R|kotlin/WasExperimental|(markerClass = <implicitArrayOf>(<getClass>(<getClass>(R|kotlin/ExperimentalStdlibApi|)))) public open val endExclusive: R|kotlin/Long|
252252
public get(): R|kotlin/Long|
253253

254254
public open val endInclusive: R|kotlin/Long|
@@ -269,7 +269,7 @@ public final class LongRange : R|kotlin/ranges/LongProgression|, R|kotlin/ranges
269269

270270
}
271271

272-
@R|kotlin/SinceKotlin|(version = String(1.7)) @R|kotlin/ExperimentalStdlibApi|() public abstract interface OpenEndRange<T : R|kotlin/Comparable<T>|> : R|kotlin/Any| {
272+
@R|kotlin/SinceKotlin|(version = String(1.9)) @R|kotlin/WasExperimental|(markerClass = <implicitArrayOf>(<getClass>(<getClass>(R|kotlin/ExperimentalStdlibApi|)))) public abstract interface OpenEndRange<T : R|kotlin/Comparable<T>|> : R|kotlin/Any| {
273273
public open operator fun contains(value: R|T|): R|kotlin/Boolean|
274274

275275
public open fun isEmpty(): R|kotlin/Boolean|

compiler/fir/analysis-tests/testData/builtIns/kotlin.txt

+17-17
Original file line numberDiff line numberDiff line change
@@ -163,13 +163,13 @@ public final class Byte : R|kotlin/Number|, R|kotlin/Comparable<kotlin/Byte>|, R
163163

164164
public final operator fun rangeTo(other: R|kotlin/Short|): R|kotlin/ranges/IntRange|
165165

166-
@R|kotlin/SinceKotlin|(version = String(1.7)) @R|kotlin/ExperimentalStdlibApi|() public final operator fun rangeUntil(other: R|kotlin/Byte|): R|kotlin/ranges/IntRange|
166+
@R|kotlin/SinceKotlin|(version = String(1.9)) @R|kotlin/WasExperimental|(markerClass = <implicitArrayOf>(<getClass>(<getClass>(R|kotlin/ExperimentalStdlibApi|)))) public final operator fun rangeUntil(other: R|kotlin/Byte|): R|kotlin/ranges/IntRange|
167167

168-
@R|kotlin/SinceKotlin|(version = String(1.7)) @R|kotlin/ExperimentalStdlibApi|() public final operator fun rangeUntil(other: R|kotlin/Int|): R|kotlin/ranges/IntRange|
168+
@R|kotlin/SinceKotlin|(version = String(1.9)) @R|kotlin/WasExperimental|(markerClass = <implicitArrayOf>(<getClass>(<getClass>(R|kotlin/ExperimentalStdlibApi|)))) public final operator fun rangeUntil(other: R|kotlin/Int|): R|kotlin/ranges/IntRange|
169169

170-
@R|kotlin/SinceKotlin|(version = String(1.7)) @R|kotlin/ExperimentalStdlibApi|() public final operator fun rangeUntil(other: R|kotlin/Long|): R|kotlin/ranges/LongRange|
170+
@R|kotlin/SinceKotlin|(version = String(1.9)) @R|kotlin/WasExperimental|(markerClass = <implicitArrayOf>(<getClass>(<getClass>(R|kotlin/ExperimentalStdlibApi|)))) public final operator fun rangeUntil(other: R|kotlin/Long|): R|kotlin/ranges/LongRange|
171171

172-
@R|kotlin/SinceKotlin|(version = String(1.7)) @R|kotlin/ExperimentalStdlibApi|() public final operator fun rangeUntil(other: R|kotlin/Short|): R|kotlin/ranges/IntRange|
172+
@R|kotlin/SinceKotlin|(version = String(1.9)) @R|kotlin/WasExperimental|(markerClass = <implicitArrayOf>(<getClass>(<getClass>(R|kotlin/ExperimentalStdlibApi|)))) public final operator fun rangeUntil(other: R|kotlin/Short|): R|kotlin/ranges/IntRange|
173173

174174
@R|kotlin/SinceKotlin|(version = String(1.1)) @R|kotlin/internal/IntrinsicConstEvaluation|() public final operator fun rem(other: R|kotlin/Byte|): R|kotlin/Int|
175175

@@ -271,7 +271,7 @@ public final class Char : R|kotlin/Comparable<kotlin/Char>|, R|java/io/Serializa
271271

272272
public final operator fun rangeTo(other: R|kotlin/Char|): R|kotlin/ranges/CharRange|
273273

274-
@R|kotlin/SinceKotlin|(version = String(1.7)) @R|kotlin/ExperimentalStdlibApi|() public final operator fun rangeUntil(other: R|kotlin/Char|): R|kotlin/ranges/CharRange|
274+
@R|kotlin/SinceKotlin|(version = String(1.9)) @R|kotlin/WasExperimental|(markerClass = <implicitArrayOf>(<getClass>(<getClass>(R|kotlin/ExperimentalStdlibApi|)))) public final operator fun rangeUntil(other: R|kotlin/Char|): R|kotlin/ranges/CharRange|
275275

276276
@R|kotlin/Deprecated|(message = String(Conversion of Char to Number is deprecated. Use Char.code property instead.), replaceWith = @R|kotlin/ReplaceWith|(imports = <implicitArrayOf>(), expression = String(this.code.toByte())) ) @R|kotlin/DeprecatedSinceKotlin|(warningSince = String(1.5)) @R|kotlin/internal/IntrinsicConstEvaluation|() public final fun toByte(): R|kotlin/Byte|
277277

@@ -826,13 +826,13 @@ public final class Int : R|kotlin/Number|, R|kotlin/Comparable<kotlin/Int>|, R|j
826826

827827
public final operator fun rangeTo(other: R|kotlin/Short|): R|kotlin/ranges/IntRange|
828828

829-
@R|kotlin/SinceKotlin|(version = String(1.7)) @R|kotlin/ExperimentalStdlibApi|() public final operator fun rangeUntil(other: R|kotlin/Byte|): R|kotlin/ranges/IntRange|
829+
@R|kotlin/SinceKotlin|(version = String(1.9)) @R|kotlin/WasExperimental|(markerClass = <implicitArrayOf>(<getClass>(<getClass>(R|kotlin/ExperimentalStdlibApi|)))) public final operator fun rangeUntil(other: R|kotlin/Byte|): R|kotlin/ranges/IntRange|
830830

831-
@R|kotlin/SinceKotlin|(version = String(1.7)) @R|kotlin/ExperimentalStdlibApi|() public final operator fun rangeUntil(other: R|kotlin/Int|): R|kotlin/ranges/IntRange|
831+
@R|kotlin/SinceKotlin|(version = String(1.9)) @R|kotlin/WasExperimental|(markerClass = <implicitArrayOf>(<getClass>(<getClass>(R|kotlin/ExperimentalStdlibApi|)))) public final operator fun rangeUntil(other: R|kotlin/Int|): R|kotlin/ranges/IntRange|
832832

833-
@R|kotlin/SinceKotlin|(version = String(1.7)) @R|kotlin/ExperimentalStdlibApi|() public final operator fun rangeUntil(other: R|kotlin/Long|): R|kotlin/ranges/LongRange|
833+
@R|kotlin/SinceKotlin|(version = String(1.9)) @R|kotlin/WasExperimental|(markerClass = <implicitArrayOf>(<getClass>(<getClass>(R|kotlin/ExperimentalStdlibApi|)))) public final operator fun rangeUntil(other: R|kotlin/Long|): R|kotlin/ranges/LongRange|
834834

835-
@R|kotlin/SinceKotlin|(version = String(1.7)) @R|kotlin/ExperimentalStdlibApi|() public final operator fun rangeUntil(other: R|kotlin/Short|): R|kotlin/ranges/IntRange|
835+
@R|kotlin/SinceKotlin|(version = String(1.9)) @R|kotlin/WasExperimental|(markerClass = <implicitArrayOf>(<getClass>(<getClass>(R|kotlin/ExperimentalStdlibApi|)))) public final operator fun rangeUntil(other: R|kotlin/Short|): R|kotlin/ranges/IntRange|
836836

837837
@R|kotlin/SinceKotlin|(version = String(1.1)) @R|kotlin/internal/IntrinsicConstEvaluation|() public final operator fun rem(other: R|kotlin/Byte|): R|kotlin/Int|
838838

@@ -994,13 +994,13 @@ public final class Long : R|kotlin/Number|, R|kotlin/Comparable<kotlin/Long>|, R
994994

995995
public final operator fun rangeTo(other: R|kotlin/Short|): R|kotlin/ranges/LongRange|
996996

997-
@R|kotlin/SinceKotlin|(version = String(1.7)) @R|kotlin/ExperimentalStdlibApi|() public final operator fun rangeUntil(other: R|kotlin/Byte|): R|kotlin/ranges/LongRange|
997+
@R|kotlin/SinceKotlin|(version = String(1.9)) @R|kotlin/WasExperimental|(markerClass = <implicitArrayOf>(<getClass>(<getClass>(R|kotlin/ExperimentalStdlibApi|)))) public final operator fun rangeUntil(other: R|kotlin/Byte|): R|kotlin/ranges/LongRange|
998998

999-
@R|kotlin/SinceKotlin|(version = String(1.7)) @R|kotlin/ExperimentalStdlibApi|() public final operator fun rangeUntil(other: R|kotlin/Int|): R|kotlin/ranges/LongRange|
999+
@R|kotlin/SinceKotlin|(version = String(1.9)) @R|kotlin/WasExperimental|(markerClass = <implicitArrayOf>(<getClass>(<getClass>(R|kotlin/ExperimentalStdlibApi|)))) public final operator fun rangeUntil(other: R|kotlin/Int|): R|kotlin/ranges/LongRange|
10001000

1001-
@R|kotlin/SinceKotlin|(version = String(1.7)) @R|kotlin/ExperimentalStdlibApi|() public final operator fun rangeUntil(other: R|kotlin/Long|): R|kotlin/ranges/LongRange|
1001+
@R|kotlin/SinceKotlin|(version = String(1.9)) @R|kotlin/WasExperimental|(markerClass = <implicitArrayOf>(<getClass>(<getClass>(R|kotlin/ExperimentalStdlibApi|)))) public final operator fun rangeUntil(other: R|kotlin/Long|): R|kotlin/ranges/LongRange|
10021002

1003-
@R|kotlin/SinceKotlin|(version = String(1.7)) @R|kotlin/ExperimentalStdlibApi|() public final operator fun rangeUntil(other: R|kotlin/Short|): R|kotlin/ranges/LongRange|
1003+
@R|kotlin/SinceKotlin|(version = String(1.9)) @R|kotlin/WasExperimental|(markerClass = <implicitArrayOf>(<getClass>(<getClass>(R|kotlin/ExperimentalStdlibApi|)))) public final operator fun rangeUntil(other: R|kotlin/Short|): R|kotlin/ranges/LongRange|
10041004

10051005
@R|kotlin/SinceKotlin|(version = String(1.1)) @R|kotlin/internal/IntrinsicConstEvaluation|() public final operator fun rem(other: R|kotlin/Byte|): R|kotlin/Long|
10061006

@@ -1241,13 +1241,13 @@ public final class Short : R|kotlin/Number|, R|kotlin/Comparable<kotlin/Short>|,
12411241

12421242
public final operator fun rangeTo(other: R|kotlin/Short|): R|kotlin/ranges/IntRange|
12431243

1244-
@R|kotlin/SinceKotlin|(version = String(1.7)) @R|kotlin/ExperimentalStdlibApi|() public final operator fun rangeUntil(other: R|kotlin/Byte|): R|kotlin/ranges/IntRange|
1244+
@R|kotlin/SinceKotlin|(version = String(1.9)) @R|kotlin/WasExperimental|(markerClass = <implicitArrayOf>(<getClass>(<getClass>(R|kotlin/ExperimentalStdlibApi|)))) public final operator fun rangeUntil(other: R|kotlin/Byte|): R|kotlin/ranges/IntRange|
12451245

1246-
@R|kotlin/SinceKotlin|(version = String(1.7)) @R|kotlin/ExperimentalStdlibApi|() public final operator fun rangeUntil(other: R|kotlin/Int|): R|kotlin/ranges/IntRange|
1246+
@R|kotlin/SinceKotlin|(version = String(1.9)) @R|kotlin/WasExperimental|(markerClass = <implicitArrayOf>(<getClass>(<getClass>(R|kotlin/ExperimentalStdlibApi|)))) public final operator fun rangeUntil(other: R|kotlin/Int|): R|kotlin/ranges/IntRange|
12471247

1248-
@R|kotlin/SinceKotlin|(version = String(1.7)) @R|kotlin/ExperimentalStdlibApi|() public final operator fun rangeUntil(other: R|kotlin/Long|): R|kotlin/ranges/LongRange|
1248+
@R|kotlin/SinceKotlin|(version = String(1.9)) @R|kotlin/WasExperimental|(markerClass = <implicitArrayOf>(<getClass>(<getClass>(R|kotlin/ExperimentalStdlibApi|)))) public final operator fun rangeUntil(other: R|kotlin/Long|): R|kotlin/ranges/LongRange|
12491249

1250-
@R|kotlin/SinceKotlin|(version = String(1.7)) @R|kotlin/ExperimentalStdlibApi|() public final operator fun rangeUntil(other: R|kotlin/Short|): R|kotlin/ranges/IntRange|
1250+
@R|kotlin/SinceKotlin|(version = String(1.9)) @R|kotlin/WasExperimental|(markerClass = <implicitArrayOf>(<getClass>(<getClass>(R|kotlin/ExperimentalStdlibApi|)))) public final operator fun rangeUntil(other: R|kotlin/Short|): R|kotlin/ranges/IntRange|
12511251

12521252
@R|kotlin/SinceKotlin|(version = String(1.1)) @R|kotlin/internal/IntrinsicConstEvaluation|() public final operator fun rem(other: R|kotlin/Byte|): R|kotlin/Int|
12531253

compiler/testData/builtin-classes/default/kotlin-ranges.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ internal final class CharProgressionIterator : kotlin.collections.CharIterator {
3636

3737
public final class CharRange : kotlin.ranges.CharProgression, kotlin.ranges.ClosedRange<kotlin.Char>, kotlin.ranges.OpenEndRange<kotlin.Char> {
3838
/*primary*/ public constructor CharRange(/*0*/ start: kotlin.Char, /*1*/ endInclusive: kotlin.Char)
39-
@kotlin.Deprecated(message = "Can throw an exception when it's impossible to represent the value with Char type, for example, when the range includes MAX_VALUE. It's recommended to use 'endInclusive' property that doesn't throw.") @kotlin.SinceKotlin(version = "1.7") public open override /*1*/ val endExclusive: kotlin.Char
39+
@kotlin.Deprecated(message = "Can throw an exception when it's impossible to represent the value with Char type, for example, when the range includes MAX_VALUE. It's recommended to use 'endInclusive' property that doesn't throw.") @kotlin.SinceKotlin(version = "1.9") @kotlin.WasExperimental(markerClass = {kotlin.ExperimentalStdlibApi::class}) public open override /*1*/ val endExclusive: kotlin.Char
4040
public open override /*1*/ fun `<get-endExclusive>`(): kotlin.Char
4141
public open override /*1*/ val endInclusive: kotlin.Char
4242
public open override /*1*/ fun `<get-endInclusive>`(): kotlin.Char
@@ -104,7 +104,7 @@ internal final class IntProgressionIterator : kotlin.collections.IntIterator {
104104

105105
public final class IntRange : kotlin.ranges.IntProgression, kotlin.ranges.ClosedRange<kotlin.Int>, kotlin.ranges.OpenEndRange<kotlin.Int> {
106106
/*primary*/ public constructor IntRange(/*0*/ start: kotlin.Int, /*1*/ endInclusive: kotlin.Int)
107-
@kotlin.Deprecated(message = "Can throw an exception when it's impossible to represent the value with Int type, for example, when the range includes MAX_VALUE. It's recommended to use 'endInclusive' property that doesn't throw.") @kotlin.SinceKotlin(version = "1.7") public open override /*1*/ val endExclusive: kotlin.Int
107+
@kotlin.Deprecated(message = "Can throw an exception when it's impossible to represent the value with Int type, for example, when the range includes MAX_VALUE. It's recommended to use 'endInclusive' property that doesn't throw.") @kotlin.SinceKotlin(version = "1.9") @kotlin.WasExperimental(markerClass = {kotlin.ExperimentalStdlibApi::class}) public open override /*1*/ val endExclusive: kotlin.Int
108108
public open override /*1*/ fun `<get-endExclusive>`(): kotlin.Int
109109
public open override /*1*/ val endInclusive: kotlin.Int
110110
public open override /*1*/ fun `<get-endInclusive>`(): kotlin.Int
@@ -163,7 +163,7 @@ internal final class LongProgressionIterator : kotlin.collections.LongIterator {
163163

164164
public final class LongRange : kotlin.ranges.LongProgression, kotlin.ranges.ClosedRange<kotlin.Long>, kotlin.ranges.OpenEndRange<kotlin.Long> {
165165
/*primary*/ public constructor LongRange(/*0*/ start: kotlin.Long, /*1*/ endInclusive: kotlin.Long)
166-
@kotlin.Deprecated(message = "Can throw an exception when it's impossible to represent the value with Long type, for example, when the range includes MAX_VALUE. It's recommended to use 'endInclusive' property that doesn't throw.") @kotlin.SinceKotlin(version = "1.7") public open override /*1*/ val endExclusive: kotlin.Long
166+
@kotlin.Deprecated(message = "Can throw an exception when it's impossible to represent the value with Long type, for example, when the range includes MAX_VALUE. It's recommended to use 'endInclusive' property that doesn't throw.") @kotlin.SinceKotlin(version = "1.9") @kotlin.WasExperimental(markerClass = {kotlin.ExperimentalStdlibApi::class}) public open override /*1*/ val endExclusive: kotlin.Long
167167
public open override /*1*/ fun `<get-endExclusive>`(): kotlin.Long
168168
public open override /*1*/ val endInclusive: kotlin.Long
169169
public open override /*1*/ fun `<get-endInclusive>`(): kotlin.Long
@@ -186,7 +186,7 @@ public final class LongRange : kotlin.ranges.LongProgression, kotlin.ranges.Clos
186186
}
187187
}
188188

189-
@kotlin.SinceKotlin(version = "1.7") public interface OpenEndRange</*0*/ T : kotlin.Comparable<T>> {
189+
@kotlin.SinceKotlin(version = "1.9") @kotlin.WasExperimental(markerClass = {kotlin.ExperimentalStdlibApi::class}) public interface OpenEndRange</*0*/ T : kotlin.Comparable<T>> {
190190
public abstract val endExclusive: T
191191
public abstract fun `<get-endExclusive>`(): T
192192
public abstract val start: T

0 commit comments

Comments
 (0)