Skip to content

Commit 33b4458

Browse files
author
Abduqodiri Qurbonzoda
committed
Deprecate sumBy and sumByDouble with WARNING
1 parent 983985b commit 33b4458

File tree

16 files changed

+203
-4
lines changed

16 files changed

+203
-4
lines changed

libraries/stdlib/api/js-v1/kotlin.collections.kt

+56
Original file line numberDiff line numberDiff line change
@@ -8853,84 +8853,140 @@ public fun kotlin.collections.Iterable<kotlin.ULong>.sum(): kotlin.ULong
88538853
@kotlin.WasExperimental(markerClass = {kotlin.ExperimentalUnsignedTypes::class})
88548854
public fun kotlin.collections.Iterable<kotlin.UShort>.sum(): kotlin.UInt
88558855

8856+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8857+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88568858
public inline fun <T> kotlin.Array<out T>.sumBy(selector: (T) -> kotlin.Int): kotlin.Int
88578859

8860+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8861+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88588862
public inline fun kotlin.BooleanArray.sumBy(selector: (kotlin.Boolean) -> kotlin.Int): kotlin.Int
88598863

8864+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8865+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88608866
public inline fun kotlin.ByteArray.sumBy(selector: (kotlin.Byte) -> kotlin.Int): kotlin.Int
88618867

8868+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8869+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88628870
public inline fun kotlin.CharArray.sumBy(selector: (kotlin.Char) -> kotlin.Int): kotlin.Int
88638871

8872+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8873+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88648874
public inline fun kotlin.DoubleArray.sumBy(selector: (kotlin.Double) -> kotlin.Int): kotlin.Int
88658875

8876+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8877+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88668878
public inline fun kotlin.FloatArray.sumBy(selector: (kotlin.Float) -> kotlin.Int): kotlin.Int
88678879

8880+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8881+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88688882
public inline fun kotlin.IntArray.sumBy(selector: (kotlin.Int) -> kotlin.Int): kotlin.Int
88698883

8884+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8885+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88708886
public inline fun kotlin.LongArray.sumBy(selector: (kotlin.Long) -> kotlin.Int): kotlin.Int
88718887

8888+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8889+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88728890
public inline fun kotlin.ShortArray.sumBy(selector: (kotlin.Short) -> kotlin.Int): kotlin.Int
88738891

8892+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8893+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88748894
@kotlin.SinceKotlin(version = "1.3")
88758895
@kotlin.ExperimentalUnsignedTypes
88768896
@kotlin.internal.InlineOnly
88778897
public inline fun kotlin.UByteArray.sumBy(selector: (kotlin.UByte) -> kotlin.UInt): kotlin.UInt
88788898

8899+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8900+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88798901
@kotlin.SinceKotlin(version = "1.3")
88808902
@kotlin.ExperimentalUnsignedTypes
88818903
@kotlin.internal.InlineOnly
88828904
public inline fun kotlin.UIntArray.sumBy(selector: (kotlin.UInt) -> kotlin.UInt): kotlin.UInt
88838905

8906+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8907+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88848908
@kotlin.SinceKotlin(version = "1.3")
88858909
@kotlin.ExperimentalUnsignedTypes
88868910
@kotlin.internal.InlineOnly
88878911
public inline fun kotlin.ULongArray.sumBy(selector: (kotlin.ULong) -> kotlin.UInt): kotlin.UInt
88888912

8913+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8914+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88898915
@kotlin.SinceKotlin(version = "1.3")
88908916
@kotlin.ExperimentalUnsignedTypes
88918917
@kotlin.internal.InlineOnly
88928918
public inline fun kotlin.UShortArray.sumBy(selector: (kotlin.UShort) -> kotlin.UInt): kotlin.UInt
88938919

8920+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8921+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88948922
public inline fun <T> kotlin.collections.Iterable<T>.sumBy(selector: (T) -> kotlin.Int): kotlin.Int
88958923

8924+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8925+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88968926
public inline fun <T> kotlin.Array<out T>.sumByDouble(selector: (T) -> kotlin.Double): kotlin.Double
88978927

8928+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8929+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88988930
public inline fun kotlin.BooleanArray.sumByDouble(selector: (kotlin.Boolean) -> kotlin.Double): kotlin.Double
88998931

8932+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8933+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
89008934
public inline fun kotlin.ByteArray.sumByDouble(selector: (kotlin.Byte) -> kotlin.Double): kotlin.Double
89018935

8936+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8937+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
89028938
public inline fun kotlin.CharArray.sumByDouble(selector: (kotlin.Char) -> kotlin.Double): kotlin.Double
89038939

8940+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8941+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
89048942
public inline fun kotlin.DoubleArray.sumByDouble(selector: (kotlin.Double) -> kotlin.Double): kotlin.Double
89058943

8944+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8945+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
89068946
public inline fun kotlin.FloatArray.sumByDouble(selector: (kotlin.Float) -> kotlin.Double): kotlin.Double
89078947

8948+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8949+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
89088950
public inline fun kotlin.IntArray.sumByDouble(selector: (kotlin.Int) -> kotlin.Double): kotlin.Double
89098951

8952+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8953+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
89108954
public inline fun kotlin.LongArray.sumByDouble(selector: (kotlin.Long) -> kotlin.Double): kotlin.Double
89118955

8956+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8957+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
89128958
public inline fun kotlin.ShortArray.sumByDouble(selector: (kotlin.Short) -> kotlin.Double): kotlin.Double
89138959

8960+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8961+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
89148962
@kotlin.SinceKotlin(version = "1.3")
89158963
@kotlin.ExperimentalUnsignedTypes
89168964
@kotlin.internal.InlineOnly
89178965
public inline fun kotlin.UByteArray.sumByDouble(selector: (kotlin.UByte) -> kotlin.Double): kotlin.Double
89188966

8967+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8968+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
89198969
@kotlin.SinceKotlin(version = "1.3")
89208970
@kotlin.ExperimentalUnsignedTypes
89218971
@kotlin.internal.InlineOnly
89228972
public inline fun kotlin.UIntArray.sumByDouble(selector: (kotlin.UInt) -> kotlin.Double): kotlin.Double
89238973

8974+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8975+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
89248976
@kotlin.SinceKotlin(version = "1.3")
89258977
@kotlin.ExperimentalUnsignedTypes
89268978
@kotlin.internal.InlineOnly
89278979
public inline fun kotlin.ULongArray.sumByDouble(selector: (kotlin.ULong) -> kotlin.Double): kotlin.Double
89288980

8981+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8982+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
89298983
@kotlin.SinceKotlin(version = "1.3")
89308984
@kotlin.ExperimentalUnsignedTypes
89318985
@kotlin.internal.InlineOnly
89328986
public inline fun kotlin.UShortArray.sumByDouble(selector: (kotlin.UShort) -> kotlin.Double): kotlin.Double
89338987

8988+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8989+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
89348990
public inline fun <T> kotlin.collections.Iterable<T>.sumByDouble(selector: (T) -> kotlin.Double): kotlin.Double
89358991

89368992
@kotlin.SinceKotlin(version = "1.4")

libraries/stdlib/api/js-v1/kotlin.sequences.kt

+4
Original file line numberDiff line numberDiff line change
@@ -541,8 +541,12 @@ public fun kotlin.sequences.Sequence<kotlin.ULong>.sum(): kotlin.ULong
541541
@kotlin.WasExperimental(markerClass = {kotlin.ExperimentalUnsignedTypes::class})
542542
public fun kotlin.sequences.Sequence<kotlin.UShort>.sum(): kotlin.UInt
543543

544+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
545+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
544546
public inline fun <T> kotlin.sequences.Sequence<T>.sumBy(selector: (T) -> kotlin.Int): kotlin.Int
545547

548+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
549+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
546550
public inline fun <T> kotlin.sequences.Sequence<T>.sumByDouble(selector: (T) -> kotlin.Double): kotlin.Double
547551

548552
@kotlin.SinceKotlin(version = "1.4")

libraries/stdlib/api/js-v1/kotlin.text.kt

+4
Original file line numberDiff line numberDiff line change
@@ -879,8 +879,12 @@ public fun kotlin.String.substringBeforeLast(delimiter: kotlin.Char, missingDeli
879879

880880
public fun kotlin.String.substringBeforeLast(delimiter: kotlin.String, missingDelimiterValue: kotlin.String = ...): kotlin.String
881881

882+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
883+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
882884
public inline fun kotlin.CharSequence.sumBy(selector: (kotlin.Char) -> kotlin.Int): kotlin.Int
883885

886+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
887+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
884888
public inline fun kotlin.CharSequence.sumByDouble(selector: (kotlin.Char) -> kotlin.Double): kotlin.Double
885889

886890
@kotlin.SinceKotlin(version = "1.4")

libraries/stdlib/api/js/kotlin.collections.kt

+56
Original file line numberDiff line numberDiff line change
@@ -8817,84 +8817,140 @@ public fun kotlin.collections.Iterable<kotlin.ULong>.sum(): kotlin.ULong
88178817
@kotlin.WasExperimental(markerClass = {kotlin.ExperimentalUnsignedTypes::class})
88188818
public fun kotlin.collections.Iterable<kotlin.UShort>.sum(): kotlin.UInt
88198819

8820+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8821+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88208822
public inline fun <T> kotlin.Array<out T>.sumBy(selector: (T) -> kotlin.Int): kotlin.Int
88218823

8824+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8825+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88228826
public inline fun kotlin.BooleanArray.sumBy(selector: (kotlin.Boolean) -> kotlin.Int): kotlin.Int
88238827

8828+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8829+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88248830
public inline fun kotlin.ByteArray.sumBy(selector: (kotlin.Byte) -> kotlin.Int): kotlin.Int
88258831

8832+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8833+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88268834
public inline fun kotlin.CharArray.sumBy(selector: (kotlin.Char) -> kotlin.Int): kotlin.Int
88278835

8836+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8837+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88288838
public inline fun kotlin.DoubleArray.sumBy(selector: (kotlin.Double) -> kotlin.Int): kotlin.Int
88298839

8840+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8841+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88308842
public inline fun kotlin.FloatArray.sumBy(selector: (kotlin.Float) -> kotlin.Int): kotlin.Int
88318843

8844+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8845+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88328846
public inline fun kotlin.IntArray.sumBy(selector: (kotlin.Int) -> kotlin.Int): kotlin.Int
88338847

8848+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8849+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88348850
public inline fun kotlin.LongArray.sumBy(selector: (kotlin.Long) -> kotlin.Int): kotlin.Int
88358851

8852+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8853+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88368854
public inline fun kotlin.ShortArray.sumBy(selector: (kotlin.Short) -> kotlin.Int): kotlin.Int
88378855

8856+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8857+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88388858
@kotlin.SinceKotlin(version = "1.3")
88398859
@kotlin.ExperimentalUnsignedTypes
88408860
@kotlin.internal.InlineOnly
88418861
public inline fun kotlin.UByteArray.sumBy(selector: (kotlin.UByte) -> kotlin.UInt): kotlin.UInt
88428862

8863+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8864+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88438865
@kotlin.SinceKotlin(version = "1.3")
88448866
@kotlin.ExperimentalUnsignedTypes
88458867
@kotlin.internal.InlineOnly
88468868
public inline fun kotlin.UIntArray.sumBy(selector: (kotlin.UInt) -> kotlin.UInt): kotlin.UInt
88478869

8870+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8871+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88488872
@kotlin.SinceKotlin(version = "1.3")
88498873
@kotlin.ExperimentalUnsignedTypes
88508874
@kotlin.internal.InlineOnly
88518875
public inline fun kotlin.ULongArray.sumBy(selector: (kotlin.ULong) -> kotlin.UInt): kotlin.UInt
88528876

8877+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8878+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88538879
@kotlin.SinceKotlin(version = "1.3")
88548880
@kotlin.ExperimentalUnsignedTypes
88558881
@kotlin.internal.InlineOnly
88568882
public inline fun kotlin.UShortArray.sumBy(selector: (kotlin.UShort) -> kotlin.UInt): kotlin.UInt
88578883

8884+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8885+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88588886
public inline fun <T> kotlin.collections.Iterable<T>.sumBy(selector: (T) -> kotlin.Int): kotlin.Int
88598887

8888+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8889+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88608890
public inline fun <T> kotlin.Array<out T>.sumByDouble(selector: (T) -> kotlin.Double): kotlin.Double
88618891

8892+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8893+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88628894
public inline fun kotlin.BooleanArray.sumByDouble(selector: (kotlin.Boolean) -> kotlin.Double): kotlin.Double
88638895

8896+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8897+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88648898
public inline fun kotlin.ByteArray.sumByDouble(selector: (kotlin.Byte) -> kotlin.Double): kotlin.Double
88658899

8900+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8901+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88668902
public inline fun kotlin.CharArray.sumByDouble(selector: (kotlin.Char) -> kotlin.Double): kotlin.Double
88678903

8904+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8905+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88688906
public inline fun kotlin.DoubleArray.sumByDouble(selector: (kotlin.Double) -> kotlin.Double): kotlin.Double
88698907

8908+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8909+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88708910
public inline fun kotlin.FloatArray.sumByDouble(selector: (kotlin.Float) -> kotlin.Double): kotlin.Double
88718911

8912+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8913+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88728914
public inline fun kotlin.IntArray.sumByDouble(selector: (kotlin.Int) -> kotlin.Double): kotlin.Double
88738915

8916+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8917+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88748918
public inline fun kotlin.LongArray.sumByDouble(selector: (kotlin.Long) -> kotlin.Double): kotlin.Double
88758919

8920+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8921+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88768922
public inline fun kotlin.ShortArray.sumByDouble(selector: (kotlin.Short) -> kotlin.Double): kotlin.Double
88778923

8924+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8925+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88788926
@kotlin.SinceKotlin(version = "1.3")
88798927
@kotlin.ExperimentalUnsignedTypes
88808928
@kotlin.internal.InlineOnly
88818929
public inline fun kotlin.UByteArray.sumByDouble(selector: (kotlin.UByte) -> kotlin.Double): kotlin.Double
88828930

8931+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8932+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88838933
@kotlin.SinceKotlin(version = "1.3")
88848934
@kotlin.ExperimentalUnsignedTypes
88858935
@kotlin.internal.InlineOnly
88868936
public inline fun kotlin.UIntArray.sumByDouble(selector: (kotlin.UInt) -> kotlin.Double): kotlin.Double
88878937

8938+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8939+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88888940
@kotlin.SinceKotlin(version = "1.3")
88898941
@kotlin.ExperimentalUnsignedTypes
88908942
@kotlin.internal.InlineOnly
88918943
public inline fun kotlin.ULongArray.sumByDouble(selector: (kotlin.ULong) -> kotlin.Double): kotlin.Double
88928944

8945+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8946+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88938947
@kotlin.SinceKotlin(version = "1.3")
88948948
@kotlin.ExperimentalUnsignedTypes
88958949
@kotlin.internal.InlineOnly
88968950
public inline fun kotlin.UShortArray.sumByDouble(selector: (kotlin.UShort) -> kotlin.Double): kotlin.Double
88978951

8952+
@kotlin.Deprecated(message = "Use sumOf instead.", replaceWith = kotlin.ReplaceWith(expression = "this.sumOf(selector)", imports = {}))
8953+
@kotlin.DeprecatedSinceKotlin(warningSince = "1.5")
88988954
public inline fun <T> kotlin.collections.Iterable<T>.sumByDouble(selector: (T) -> kotlin.Double): kotlin.Double
88998955

89008956
@kotlin.SinceKotlin(version = "1.4")

0 commit comments

Comments
 (0)