Promote scanReduce deprecation level to error
This commit is contained in:
@@ -1867,14 +1867,14 @@ public inline fun <R> CharSequence.scanIndexed(initial: R, operation: (index: In
|
||||
return runningFoldIndexed(initial, operation)
|
||||
}
|
||||
|
||||
@Deprecated("Use runningReduce instead.", ReplaceWith("runningReduce(operation)"))
|
||||
@Deprecated("Use runningReduce instead.", ReplaceWith("runningReduce(operation)"), level = DeprecationLevel.ERROR)
|
||||
@SinceKotlin("1.3")
|
||||
@ExperimentalStdlibApi
|
||||
public inline fun CharSequence.scanReduce(operation: (acc: Char, Char) -> Char): List<Char> {
|
||||
return runningReduce(operation)
|
||||
}
|
||||
|
||||
@Deprecated("Use runningReduceIndexed instead.", ReplaceWith("runningReduceIndexed(operation)"))
|
||||
@Deprecated("Use runningReduceIndexed instead.", ReplaceWith("runningReduceIndexed(operation)"), level = DeprecationLevel.ERROR)
|
||||
@SinceKotlin("1.3")
|
||||
@ExperimentalStdlibApi
|
||||
public inline fun CharSequence.scanReduceIndexed(operation: (index: Int, acc: Char, Char) -> Char): List<Char> {
|
||||
|
||||
Reference in New Issue
Block a user