Do not call deprecated public getProgressionFinalElement, call internal getProgressionLastElement instead.
ProgressionIterators do not compute final element by themselves, but use one computed by Progression. Update testdata for LoadBuiltinsTest
This commit is contained in:
+11
-11
@@ -150,9 +150,9 @@ public abstract class ByteIterator : kotlin.Iterator<kotlin.Byte> {
|
||||
}
|
||||
|
||||
internal final class ByteProgressionIterator : kotlin.ByteIterator {
|
||||
/*primary*/ public constructor ByteProgressionIterator(/*0*/ start: kotlin.Byte, /*1*/ end: kotlin.Byte, /*2*/ increment: kotlin.Int)
|
||||
private final val finalElement: kotlin.Byte
|
||||
private final fun <get-finalElement>(): kotlin.Byte
|
||||
/*primary*/ public constructor ByteProgressionIterator(/*0*/ first: kotlin.Byte, /*1*/ last: kotlin.Byte, /*2*/ increment: kotlin.Int)
|
||||
private final val finalElement: kotlin.Int
|
||||
private final fun <get-finalElement>(): kotlin.Int
|
||||
private final var hasNext: kotlin.Boolean
|
||||
private final fun <get-hasNext>(): kotlin.Boolean
|
||||
private final fun <set-hasNext>(/*0*/ <set-?>: kotlin.Boolean): kotlin.Unit
|
||||
@@ -252,9 +252,9 @@ public open class CharProgression : kotlin.Progression<kotlin.Char> {
|
||||
}
|
||||
|
||||
internal final class CharProgressionIterator : kotlin.CharIterator {
|
||||
/*primary*/ public constructor CharProgressionIterator(/*0*/ start: kotlin.Char, /*1*/ end: kotlin.Char, /*2*/ increment: kotlin.Int)
|
||||
private final val finalElement: kotlin.Char
|
||||
private final fun <get-finalElement>(): kotlin.Char
|
||||
/*primary*/ public constructor CharProgressionIterator(/*0*/ first: kotlin.Char, /*1*/ last: kotlin.Char, /*2*/ increment: kotlin.Int)
|
||||
private final val finalElement: kotlin.Int
|
||||
private final fun <get-finalElement>(): kotlin.Int
|
||||
private final var hasNext: kotlin.Boolean
|
||||
private final fun <get-hasNext>(): kotlin.Boolean
|
||||
private final fun <set-hasNext>(/*0*/ <set-?>: kotlin.Boolean): kotlin.Unit
|
||||
@@ -671,7 +671,7 @@ public open class IntProgression : kotlin.Progression<kotlin.Int> {
|
||||
}
|
||||
|
||||
internal final class IntProgressionIterator : kotlin.IntIterator {
|
||||
/*primary*/ public constructor IntProgressionIterator(/*0*/ start: kotlin.Int, /*1*/ end: kotlin.Int, /*2*/ increment: kotlin.Int)
|
||||
/*primary*/ public constructor IntProgressionIterator(/*0*/ first: kotlin.Int, /*1*/ last: kotlin.Int, /*2*/ increment: kotlin.Int)
|
||||
private final val finalElement: kotlin.Int
|
||||
private final fun <get-finalElement>(): kotlin.Int
|
||||
private final var hasNext: kotlin.Boolean
|
||||
@@ -861,7 +861,7 @@ public open class LongProgression : kotlin.Progression<kotlin.Long> {
|
||||
}
|
||||
|
||||
internal final class LongProgressionIterator : kotlin.LongIterator {
|
||||
/*primary*/ public constructor LongProgressionIterator(/*0*/ start: kotlin.Long, /*1*/ end: kotlin.Long, /*2*/ increment: kotlin.Long)
|
||||
/*primary*/ public constructor LongProgressionIterator(/*0*/ first: kotlin.Long, /*1*/ last: kotlin.Long, /*2*/ increment: kotlin.Long)
|
||||
private final val finalElement: kotlin.Long
|
||||
private final fun <get-finalElement>(): kotlin.Long
|
||||
private final var hasNext: kotlin.Boolean
|
||||
@@ -1186,9 +1186,9 @@ public abstract class ShortIterator : kotlin.Iterator<kotlin.Short> {
|
||||
}
|
||||
|
||||
internal final class ShortProgressionIterator : kotlin.ShortIterator {
|
||||
/*primary*/ public constructor ShortProgressionIterator(/*0*/ start: kotlin.Short, /*1*/ end: kotlin.Short, /*2*/ increment: kotlin.Int)
|
||||
private final val finalElement: kotlin.Short
|
||||
private final fun <get-finalElement>(): kotlin.Short
|
||||
/*primary*/ public constructor ShortProgressionIterator(/*0*/ first: kotlin.Short, /*1*/ last: kotlin.Short, /*2*/ increment: kotlin.Int)
|
||||
private final val finalElement: kotlin.Int
|
||||
private final fun <get-finalElement>(): kotlin.Int
|
||||
private final var hasNext: kotlin.Boolean
|
||||
private final fun <get-hasNext>(): kotlin.Boolean
|
||||
private final fun <set-hasNext>(/*0*/ <set-?>: kotlin.Boolean): kotlin.Unit
|
||||
|
||||
Reference in New Issue
Block a user