Correct deprecation replacement for Progression constructors.
Update testdata for LoadBuiltinsTest
This commit is contained in:
+5
-5
@@ -129,7 +129,7 @@ public abstract class ByteIterator : kotlin.Iterator<kotlin.Byte> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@kotlin.Deprecated(level = DeprecationLevel.WARNING, message = "Use IntProgression instead.", replaceWith = kotlin.ReplaceWith(expression = "IntProgression", imports = {})) public open class ByteProgression : kotlin.Progression<kotlin.Byte> {
|
@kotlin.Deprecated(level = DeprecationLevel.WARNING, message = "Use IntProgression instead.", replaceWith = kotlin.ReplaceWith(expression = "IntProgression", imports = {})) public open class ByteProgression : kotlin.Progression<kotlin.Byte> {
|
||||||
/*primary*/ @kotlin.Deprecated(message = "This constructor will become private soon. Use ByteProgression.fromClosedRange() instead.", replaceWith = kotlin.ReplaceWith(expression = "ByteProgression.fromClosedRange(start, end, increment)", imports = {})) public constructor ByteProgression(/*0*/ start: kotlin.Byte, /*1*/ endInclusive: kotlin.Byte, /*2*/ increment: kotlin.Int)
|
/*primary*/ @kotlin.Deprecated(message = "This constructor will become private soon. Use ByteProgression.fromClosedRange() instead.", replaceWith = kotlin.ReplaceWith(expression = "ByteProgression.fromClosedRange(start, endInclusive, increment)", imports = {})) public constructor ByteProgression(/*0*/ start: kotlin.Byte, /*1*/ endInclusive: kotlin.Byte, /*2*/ increment: kotlin.Int)
|
||||||
@kotlin.Deprecated(message = "Use 'last' property instead.") public open override /*1*/ val end: kotlin.Byte
|
@kotlin.Deprecated(message = "Use 'last' property instead.") public open override /*1*/ val end: kotlin.Byte
|
||||||
public open override /*1*/ fun <get-end>(): kotlin.Byte
|
public open override /*1*/ fun <get-end>(): kotlin.Byte
|
||||||
public final val first: kotlin.Byte
|
public final val first: kotlin.Byte
|
||||||
@@ -231,7 +231,7 @@ public abstract class CharIterator : kotlin.Iterator<kotlin.Char> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public open class CharProgression : kotlin.Progression<kotlin.Char> {
|
public open class CharProgression : kotlin.Progression<kotlin.Char> {
|
||||||
/*primary*/ @kotlin.Deprecated(message = "This constructor will become private soon. Use CharProgression.fromClosedRange() instead.", replaceWith = kotlin.ReplaceWith(expression = "CharProgression.fromClosedRange(start, end, increment)", imports = {})) public constructor CharProgression(/*0*/ start: kotlin.Char, /*1*/ endInclusive: kotlin.Char, /*2*/ increment: kotlin.Int)
|
/*primary*/ @kotlin.Deprecated(message = "This constructor will become private soon. Use CharProgression.fromClosedRange() instead.", replaceWith = kotlin.ReplaceWith(expression = "CharProgression.fromClosedRange(start, endInclusive, increment)", imports = {})) public constructor CharProgression(/*0*/ start: kotlin.Char, /*1*/ endInclusive: kotlin.Char, /*2*/ increment: kotlin.Int)
|
||||||
@kotlin.Deprecated(message = "Use 'last' property instead.") public open override /*1*/ val end: kotlin.Char
|
@kotlin.Deprecated(message = "Use 'last' property instead.") public open override /*1*/ val end: kotlin.Char
|
||||||
public open override /*1*/ fun <get-end>(): kotlin.Char
|
public open override /*1*/ fun <get-end>(): kotlin.Char
|
||||||
public final val first: kotlin.Char
|
public final val first: kotlin.Char
|
||||||
@@ -650,7 +650,7 @@ public abstract class IntIterator : kotlin.Iterator<kotlin.Int> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public open class IntProgression : kotlin.Progression<kotlin.Int> {
|
public open class IntProgression : kotlin.Progression<kotlin.Int> {
|
||||||
/*primary*/ @kotlin.Deprecated(message = "This constructor will become private soon. Use IntProgression.fromClosedRange() instead.", replaceWith = kotlin.ReplaceWith(expression = "IntProgression.fromClosedRange(start, end, increment)", imports = {})) public constructor IntProgression(/*0*/ start: kotlin.Int, /*1*/ endInclusive: kotlin.Int, /*2*/ increment: kotlin.Int)
|
/*primary*/ @kotlin.Deprecated(message = "This constructor will become private soon. Use IntProgression.fromClosedRange() instead.", replaceWith = kotlin.ReplaceWith(expression = "IntProgression.fromClosedRange(start, endInclusive, increment)", imports = {})) public constructor IntProgression(/*0*/ start: kotlin.Int, /*1*/ endInclusive: kotlin.Int, /*2*/ increment: kotlin.Int)
|
||||||
@kotlin.Deprecated(message = "Use 'last' property instead.") public open override /*1*/ val end: kotlin.Int
|
@kotlin.Deprecated(message = "Use 'last' property instead.") public open override /*1*/ val end: kotlin.Int
|
||||||
public open override /*1*/ fun <get-end>(): kotlin.Int
|
public open override /*1*/ fun <get-end>(): kotlin.Int
|
||||||
public final val first: kotlin.Int
|
public final val first: kotlin.Int
|
||||||
@@ -840,7 +840,7 @@ public abstract class LongIterator : kotlin.Iterator<kotlin.Long> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public open class LongProgression : kotlin.Progression<kotlin.Long> {
|
public open class LongProgression : kotlin.Progression<kotlin.Long> {
|
||||||
/*primary*/ @kotlin.Deprecated(message = "This constructor will become private soon. Use LongProgression.fromClosedRange() instead.", replaceWith = kotlin.ReplaceWith(expression = "LongProgression.fromClosedRange(start, end, increment)", imports = {})) public constructor LongProgression(/*0*/ start: kotlin.Long, /*1*/ endInclusive: kotlin.Long, /*2*/ increment: kotlin.Long)
|
/*primary*/ @kotlin.Deprecated(message = "This constructor will become private soon. Use LongProgression.fromClosedRange() instead.", replaceWith = kotlin.ReplaceWith(expression = "LongProgression.fromClosedRange(start, endInclusive, increment)", imports = {})) public constructor LongProgression(/*0*/ start: kotlin.Long, /*1*/ endInclusive: kotlin.Long, /*2*/ increment: kotlin.Long)
|
||||||
@kotlin.Deprecated(message = "Use 'last' property instead.") public open override /*1*/ val end: kotlin.Long
|
@kotlin.Deprecated(message = "Use 'last' property instead.") public open override /*1*/ val end: kotlin.Long
|
||||||
public open override /*1*/ fun <get-end>(): kotlin.Long
|
public open override /*1*/ fun <get-end>(): kotlin.Long
|
||||||
public final val first: kotlin.Long
|
public final val first: kotlin.Long
|
||||||
@@ -1165,7 +1165,7 @@ public abstract class ShortIterator : kotlin.Iterator<kotlin.Short> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@kotlin.Deprecated(level = DeprecationLevel.WARNING, message = "Use IntProgression instead.", replaceWith = kotlin.ReplaceWith(expression = "IntProgression", imports = {})) public open class ShortProgression : kotlin.Progression<kotlin.Short> {
|
@kotlin.Deprecated(level = DeprecationLevel.WARNING, message = "Use IntProgression instead.", replaceWith = kotlin.ReplaceWith(expression = "IntProgression", imports = {})) public open class ShortProgression : kotlin.Progression<kotlin.Short> {
|
||||||
/*primary*/ @kotlin.Deprecated(message = "This constructor will become private soon. Use ShortProgression.fromClosedRange() instead.", replaceWith = kotlin.ReplaceWith(expression = "ShortProgression.fromClosedRange(start, end, increment)", imports = {})) public constructor ShortProgression(/*0*/ start: kotlin.Short, /*1*/ endInclusive: kotlin.Short, /*2*/ increment: kotlin.Int)
|
/*primary*/ @kotlin.Deprecated(message = "This constructor will become private soon. Use ShortProgression.fromClosedRange() instead.", replaceWith = kotlin.ReplaceWith(expression = "ShortProgression.fromClosedRange(start, endInclusive, increment)", imports = {})) public constructor ShortProgression(/*0*/ start: kotlin.Short, /*1*/ endInclusive: kotlin.Short, /*2*/ increment: kotlin.Int)
|
||||||
@kotlin.Deprecated(message = "Use 'last' property instead.") public open override /*1*/ val end: kotlin.Short
|
@kotlin.Deprecated(message = "Use 'last' property instead.") public open override /*1*/ val end: kotlin.Short
|
||||||
public open override /*1*/ fun <get-end>(): kotlin.Short
|
public open override /*1*/ fun <get-end>(): kotlin.Short
|
||||||
public final val first: kotlin.Short
|
public final val first: kotlin.Short
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ package kotlin
|
|||||||
* A progression of values of type `Byte`.
|
* A progression of values of type `Byte`.
|
||||||
*/
|
*/
|
||||||
public open class ByteProgression
|
public open class ByteProgression
|
||||||
@Deprecated("This constructor will become private soon. Use ByteProgression.fromClosedRange() instead.", ReplaceWith("ByteProgression.fromClosedRange(start, end, increment)"))
|
@Deprecated("This constructor will become private soon. Use ByteProgression.fromClosedRange() instead.", ReplaceWith("ByteProgression.fromClosedRange(start, endInclusive, increment)"))
|
||||||
public constructor
|
public constructor
|
||||||
(
|
(
|
||||||
start: Byte,
|
start: Byte,
|
||||||
@@ -81,7 +81,7 @@ public open class ByteProgression
|
|||||||
* A progression of values of type `Char`.
|
* A progression of values of type `Char`.
|
||||||
*/
|
*/
|
||||||
public open class CharProgression
|
public open class CharProgression
|
||||||
@Deprecated("This constructor will become private soon. Use CharProgression.fromClosedRange() instead.", ReplaceWith("CharProgression.fromClosedRange(start, end, increment)"))
|
@Deprecated("This constructor will become private soon. Use CharProgression.fromClosedRange() instead.", ReplaceWith("CharProgression.fromClosedRange(start, endInclusive, increment)"))
|
||||||
public constructor
|
public constructor
|
||||||
(
|
(
|
||||||
start: Char,
|
start: Char,
|
||||||
@@ -140,7 +140,7 @@ public open class CharProgression
|
|||||||
* A progression of values of type `Short`.
|
* A progression of values of type `Short`.
|
||||||
*/
|
*/
|
||||||
public open class ShortProgression
|
public open class ShortProgression
|
||||||
@Deprecated("This constructor will become private soon. Use ShortProgression.fromClosedRange() instead.", ReplaceWith("ShortProgression.fromClosedRange(start, end, increment)"))
|
@Deprecated("This constructor will become private soon. Use ShortProgression.fromClosedRange() instead.", ReplaceWith("ShortProgression.fromClosedRange(start, endInclusive, increment)"))
|
||||||
public constructor
|
public constructor
|
||||||
(
|
(
|
||||||
start: Short,
|
start: Short,
|
||||||
@@ -198,7 +198,7 @@ public open class ShortProgression
|
|||||||
* A progression of values of type `Int`.
|
* A progression of values of type `Int`.
|
||||||
*/
|
*/
|
||||||
public open class IntProgression
|
public open class IntProgression
|
||||||
@Deprecated("This constructor will become private soon. Use IntProgression.fromClosedRange() instead.", ReplaceWith("IntProgression.fromClosedRange(start, end, increment)"))
|
@Deprecated("This constructor will become private soon. Use IntProgression.fromClosedRange() instead.", ReplaceWith("IntProgression.fromClosedRange(start, endInclusive, increment)"))
|
||||||
public constructor
|
public constructor
|
||||||
(
|
(
|
||||||
start: Int,
|
start: Int,
|
||||||
@@ -256,7 +256,7 @@ public open class IntProgression
|
|||||||
* A progression of values of type `Long`.
|
* A progression of values of type `Long`.
|
||||||
*/
|
*/
|
||||||
public open class LongProgression
|
public open class LongProgression
|
||||||
@Deprecated("This constructor will become private soon. Use LongProgression.fromClosedRange() instead.", ReplaceWith("LongProgression.fromClosedRange(start, end, increment)"))
|
@Deprecated("This constructor will become private soon. Use LongProgression.fromClosedRange() instead.", ReplaceWith("LongProgression.fromClosedRange(start, endInclusive, increment)"))
|
||||||
public constructor
|
public constructor
|
||||||
(
|
(
|
||||||
start: Long,
|
start: Long,
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ class GenerateProgressions(out: PrintWriter) : BuiltInsSourceGenerator(out) {
|
|||||||
* A progression of values of type `$t`.
|
* A progression of values of type `$t`.
|
||||||
*/
|
*/
|
||||||
public open class $progression
|
public open class $progression
|
||||||
@Deprecated("This constructor will become private soon. Use $progression.fromClosedRange() instead.", ReplaceWith("$progression.fromClosedRange(start, end, increment)"))
|
@Deprecated("This constructor will become private soon. Use $progression.fromClosedRange() instead.", ReplaceWith("$progression.fromClosedRange(start, endInclusive, increment)"))
|
||||||
public constructor
|
public constructor
|
||||||
(
|
(
|
||||||
start: $t,
|
start: $t,
|
||||||
|
|||||||
Reference in New Issue
Block a user