Change deprecations annotation order on Ranges#endExclusive property
We have [Int|Long|Char]Range classes in 2 different places: - as separate class-files - serialized in the kotlin_builtins file For some reason our Kotlin compiler during the JVM compilation re-arranging the order of the annotations, so in class file they will be written in the following order: - Deprecated - SinceKotlin - ExperimentalStdlibApi But in the kotlin_builtins they will be stored the same way as in the sources. We need these 2 way to be synchronized, because stub's in IDE cares about order. After this commit IDE test BuiltInDecompilerConsistencyTest is fixed
This commit is contained in:
committed by
teamcity
parent
509ed69d28
commit
d788a927c4
@@ -39,7 +39,7 @@ internal final class CharProgressionIterator : kotlin.collections.CharIterator {
|
||||
|
||||
public final class CharRange : kotlin.ranges.CharProgression, kotlin.ranges.ClosedRange<kotlin.Char>, kotlin.ranges.OpenEndRange<kotlin.Char> {
|
||||
/*primary*/ public constructor CharRange(/*0*/ start: kotlin.Char, /*1*/ endInclusive: kotlin.Char)
|
||||
@kotlin.SinceKotlin(version = "1.7") @kotlin.ExperimentalStdlibApi @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.") public open override /*1*/ val endExclusive: kotlin.Char
|
||||
@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") @kotlin.ExperimentalStdlibApi public open override /*1*/ val endExclusive: kotlin.Char
|
||||
public open override /*1*/ fun `<get-endExclusive>`(): kotlin.Char
|
||||
public open override /*1*/ val endInclusive: kotlin.Char
|
||||
public open override /*1*/ fun `<get-endInclusive>`(): kotlin.Char
|
||||
@@ -112,7 +112,7 @@ internal final class IntProgressionIterator : kotlin.collections.IntIterator {
|
||||
|
||||
public final class IntRange : kotlin.ranges.IntProgression, kotlin.ranges.ClosedRange<kotlin.Int>, kotlin.ranges.OpenEndRange<kotlin.Int> {
|
||||
/*primary*/ public constructor IntRange(/*0*/ start: kotlin.Int, /*1*/ endInclusive: kotlin.Int)
|
||||
@kotlin.SinceKotlin(version = "1.7") @kotlin.ExperimentalStdlibApi @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.") public open override /*1*/ val endExclusive: kotlin.Int
|
||||
@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") @kotlin.ExperimentalStdlibApi public open override /*1*/ val endExclusive: kotlin.Int
|
||||
public open override /*1*/ fun `<get-endExclusive>`(): kotlin.Int
|
||||
public open override /*1*/ val endInclusive: kotlin.Int
|
||||
public open override /*1*/ fun `<get-endInclusive>`(): kotlin.Int
|
||||
@@ -176,7 +176,7 @@ internal final class LongProgressionIterator : kotlin.collections.LongIterator {
|
||||
|
||||
public final class LongRange : kotlin.ranges.LongProgression, kotlin.ranges.ClosedRange<kotlin.Long>, kotlin.ranges.OpenEndRange<kotlin.Long> {
|
||||
/*primary*/ public constructor LongRange(/*0*/ start: kotlin.Long, /*1*/ endInclusive: kotlin.Long)
|
||||
@kotlin.SinceKotlin(version = "1.7") @kotlin.ExperimentalStdlibApi @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.") public open override /*1*/ val endExclusive: kotlin.Long
|
||||
@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") @kotlin.ExperimentalStdlibApi public open override /*1*/ val endExclusive: kotlin.Long
|
||||
public open override /*1*/ fun `<get-endExclusive>`(): kotlin.Long
|
||||
public open override /*1*/ val endInclusive: kotlin.Long
|
||||
public open override /*1*/ fun `<get-endInclusive>`(): kotlin.Long
|
||||
|
||||
Reference in New Issue
Block a user