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: core/builtins/src/kotlin/Progressions.kt
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ package kotlin
23
23
* A progression of values of type `Byte`.
24
24
*/
25
25
publicopenclassByteProgression
26
-
@Deprecated("This constructor will become private soon. Use ByteProgression.fromClosedRange() instead.", ReplaceWith("ByteProgression.fromClosedRange(start, end, increment)"))
26
+
@Deprecated("This constructor will become private soon. Use ByteProgression.fromClosedRange() instead.", ReplaceWith("ByteProgression.fromClosedRange(start, endInclusive, increment)"))
27
27
publicconstructor
28
28
(
29
29
start:Byte,
@@ -81,7 +81,7 @@ public open class ByteProgression
81
81
* A progression of values of type `Char`.
82
82
*/
83
83
publicopenclassCharProgression
84
-
@Deprecated("This constructor will become private soon. Use CharProgression.fromClosedRange() instead.", ReplaceWith("CharProgression.fromClosedRange(start, end, increment)"))
84
+
@Deprecated("This constructor will become private soon. Use CharProgression.fromClosedRange() instead.", ReplaceWith("CharProgression.fromClosedRange(start, endInclusive, increment)"))
85
85
publicconstructor
86
86
(
87
87
start:Char,
@@ -140,7 +140,7 @@ public open class CharProgression
140
140
* A progression of values of type `Short`.
141
141
*/
142
142
publicopenclassShortProgression
143
-
@Deprecated("This constructor will become private soon. Use ShortProgression.fromClosedRange() instead.", ReplaceWith("ShortProgression.fromClosedRange(start, end, increment)"))
143
+
@Deprecated("This constructor will become private soon. Use ShortProgression.fromClosedRange() instead.", ReplaceWith("ShortProgression.fromClosedRange(start, endInclusive, increment)"))
144
144
publicconstructor
145
145
(
146
146
start:Short,
@@ -198,7 +198,7 @@ public open class ShortProgression
198
198
* A progression of values of type `Int`.
199
199
*/
200
200
publicopenclassIntProgression
201
-
@Deprecated("This constructor will become private soon. Use IntProgression.fromClosedRange() instead.", ReplaceWith("IntProgression.fromClosedRange(start, end, increment)"))
201
+
@Deprecated("This constructor will become private soon. Use IntProgression.fromClosedRange() instead.", ReplaceWith("IntProgression.fromClosedRange(start, endInclusive, increment)"))
202
202
publicconstructor
203
203
(
204
204
start:Int,
@@ -256,7 +256,7 @@ public open class IntProgression
256
256
* A progression of values of type `Long`.
257
257
*/
258
258
publicopenclassLongProgression
259
-
@Deprecated("This constructor will become private soon. Use LongProgression.fromClosedRange() instead.", ReplaceWith("LongProgression.fromClosedRange(start, end, increment)"))
259
+
@Deprecated("This constructor will become private soon. Use LongProgression.fromClosedRange() instead.", ReplaceWith("LongProgression.fromClosedRange(start, endInclusive, increment)"))
Copy file name to clipboardExpand all lines: generators/src/org/jetbrains/kotlin/generators/builtins/progressions.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ class GenerateProgressions(out: PrintWriter) : BuiltInsSourceGenerator(out) {
56
56
* A progression of values of type `$t`.
57
57
*/
58
58
public open class $progression
59
-
@Deprecated("This constructor will become private soon. Use $progression.fromClosedRange() instead.", ReplaceWith("$progression.fromClosedRange(start, end, increment)"))
59
+
@Deprecated("This constructor will become private soon. Use $progression.fromClosedRange() instead.", ReplaceWith("$progression.fromClosedRange(start, endInclusive, increment)"))
0 commit comments