You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: compiler/fir/analysis-tests/testData/builtIns/kotlin-ranges.txt
+4-4
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ public final class CharRange : R|kotlin/ranges/CharProgression|, R|kotlin/ranges
63
63
64
64
public open fun toString(): R|kotlin/String|
65
65
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|
67
67
public get(): R|kotlin/Char|
68
68
69
69
public open val endInclusive: R|kotlin/Char|
@@ -162,7 +162,7 @@ public final class IntRange : R|kotlin/ranges/IntProgression|, R|kotlin/ranges/C
162
162
163
163
public open fun toString(): R|kotlin/String|
164
164
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|
166
166
public get(): R|kotlin/Int|
167
167
168
168
public open val endInclusive: R|kotlin/Int|
@@ -248,7 +248,7 @@ public final class LongRange : R|kotlin/ranges/LongProgression|, R|kotlin/ranges
248
248
249
249
public open fun toString(): R|kotlin/String|
250
250
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|
252
252
public get(): R|kotlin/Long|
253
253
254
254
public open val endInclusive: R|kotlin/Long|
@@ -269,7 +269,7 @@ public final class LongRange : R|kotlin/ranges/LongProgression|, R|kotlin/ranges
Copy file name to clipboardExpand all lines: compiler/fir/analysis-tests/testData/builtIns/kotlin.txt
+17-17
Original file line number
Diff line number
Diff line change
@@ -163,13 +163,13 @@ public final class Byte : R|kotlin/Number|, R|kotlin/Comparable<kotlin/Byte>|, R
163
163
164
164
public final operator fun rangeTo(other: R|kotlin/Short|): R|kotlin/ranges/IntRange|
165
165
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|
167
167
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|
169
169
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|
171
171
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|
173
173
174
174
@R|kotlin/SinceKotlin|(version = String(1.1)) @R|kotlin/internal/IntrinsicConstEvaluation|() public final operator fun rem(other: R|kotlin/Byte|): R|kotlin/Int|
175
175
@@ -271,7 +271,7 @@ public final class Char : R|kotlin/Comparable<kotlin/Char>|, R|java/io/Serializa
271
271
272
272
public final operator fun rangeTo(other: R|kotlin/Char|): R|kotlin/ranges/CharRange|
273
273
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|
275
275
276
276
@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|
277
277
@@ -826,13 +826,13 @@ public final class Int : R|kotlin/Number|, R|kotlin/Comparable<kotlin/Int>|, R|j
826
826
827
827
public final operator fun rangeTo(other: R|kotlin/Short|): R|kotlin/ranges/IntRange|
828
828
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|
830
830
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|
832
832
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|
834
834
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|
836
836
837
837
@R|kotlin/SinceKotlin|(version = String(1.1)) @R|kotlin/internal/IntrinsicConstEvaluation|() public final operator fun rem(other: R|kotlin/Byte|): R|kotlin/Int|
838
838
@@ -994,13 +994,13 @@ public final class Long : R|kotlin/Number|, R|kotlin/Comparable<kotlin/Long>|, R
994
994
995
995
public final operator fun rangeTo(other: R|kotlin/Short|): R|kotlin/ranges/LongRange|
996
996
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|
998
998
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|
1000
1000
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|
1002
1002
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|
1004
1004
1005
1005
@R|kotlin/SinceKotlin|(version = String(1.1)) @R|kotlin/internal/IntrinsicConstEvaluation|() public final operator fun rem(other: R|kotlin/Byte|): R|kotlin/Long|
1006
1006
@@ -1241,13 +1241,13 @@ public final class Short : R|kotlin/Number|, R|kotlin/Comparable<kotlin/Short>|,
1241
1241
1242
1242
public final operator fun rangeTo(other: R|kotlin/Short|): R|kotlin/ranges/IntRange|
1243
1243
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|
1245
1245
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|
1247
1247
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|
1249
1249
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|
1251
1251
1252
1252
@R|kotlin/SinceKotlin|(version = String(1.1)) @R|kotlin/internal/IntrinsicConstEvaluation|() public final operator fun rem(other: R|kotlin/Byte|): R|kotlin/Int|
Copy file name to clipboardExpand all lines: compiler/testData/builtin-classes/default/kotlin-ranges.txt
+4-4
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ internal final class CharProgressionIterator : kotlin.collections.CharIterator {
36
36
37
37
public final class CharRange : kotlin.ranges.CharProgression, kotlin.ranges.ClosedRange<kotlin.Char>, kotlin.ranges.OpenEndRange<kotlin.Char> {
38
38
/*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
40
40
public open override /*1*/ fun `<get-endExclusive>`(): kotlin.Char
41
41
public open override /*1*/ val endInclusive: kotlin.Char
42
42
public open override /*1*/ fun `<get-endInclusive>`(): kotlin.Char
@@ -104,7 +104,7 @@ internal final class IntProgressionIterator : kotlin.collections.IntIterator {
104
104
105
105
public final class IntRange : kotlin.ranges.IntProgression, kotlin.ranges.ClosedRange<kotlin.Int>, kotlin.ranges.OpenEndRange<kotlin.Int> {
106
106
/*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
108
108
public open override /*1*/ fun `<get-endExclusive>`(): kotlin.Int
109
109
public open override /*1*/ val endInclusive: kotlin.Int
110
110
public open override /*1*/ fun `<get-endInclusive>`(): kotlin.Int
@@ -163,7 +163,7 @@ internal final class LongProgressionIterator : kotlin.collections.LongIterator {
163
163
164
164
public final class LongRange : kotlin.ranges.LongProgression, kotlin.ranges.ClosedRange<kotlin.Long>, kotlin.ranges.OpenEndRange<kotlin.Long> {
165
165
/*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
167
167
public open override /*1*/ fun `<get-endExclusive>`(): kotlin.Long
168
168
public open override /*1*/ val endInclusive: kotlin.Long
169
169
public open override /*1*/ fun `<get-endInclusive>`(): kotlin.Long
@@ -186,7 +186,7 @@ public final class LongRange : kotlin.ranges.LongProgression, kotlin.ranges.Clos
186
186
}
187
187
}
188
188
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>> {
0 commit comments