Qualify replacement expression with receiver to workaround KT-42874

This commit is contained in:
Ilya Gorbunov
2020-11-09 22:54:36 +03:00
parent e0655b2f96
commit 4767696840
13 changed files with 333 additions and 333 deletions
+10 -10
View File
@@ -245,21 +245,21 @@ public inline fun <T, R : kotlin.Any, C : kotlin.collections.MutableCollection<i
public inline fun <T, R, C : kotlin.collections.MutableCollection<in R>> kotlin.sequences.Sequence<T>.mapTo(destination: C, transform: (T) -> R): C
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "maxOrNull()", imports = {}))
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
public fun <T : kotlin.Comparable<T>> kotlin.sequences.Sequence<T>.max(): T?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "maxOrNull()", imports = {}))
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.1")
public fun kotlin.sequences.Sequence<kotlin.Double>.max(): kotlin.Double?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "maxOrNull()", imports = {}))
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.1")
public fun kotlin.sequences.Sequence<kotlin.Float>.max(): kotlin.Float?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "maxByOrNull(selector)", imports = {}))
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
public inline fun <T, R : kotlin.Comparable<R>> kotlin.sequences.Sequence<T>.maxBy(selector: (T) -> R): T?
@@ -315,28 +315,28 @@ public fun kotlin.sequences.Sequence<kotlin.Double>.maxOrNull(): kotlin.Double?
@kotlin.SinceKotlin(version = "1.4")
public fun kotlin.sequences.Sequence<kotlin.Float>.maxOrNull(): kotlin.Float?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "maxWithOrNull(comparator)", imports = {}))
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
public fun <T> kotlin.sequences.Sequence<T>.maxWith(comparator: kotlin.Comparator<in T>): T?
@kotlin.SinceKotlin(version = "1.4")
public fun <T> kotlin.sequences.Sequence<T>.maxWithOrNull(comparator: kotlin.Comparator<in T>): T?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "minOrNull()", imports = {}))
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
public fun <T : kotlin.Comparable<T>> kotlin.sequences.Sequence<T>.min(): T?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "minOrNull()", imports = {}))
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.1")
public fun kotlin.sequences.Sequence<kotlin.Double>.min(): kotlin.Double?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "minOrNull()", imports = {}))
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.1")
public fun kotlin.sequences.Sequence<kotlin.Float>.min(): kotlin.Float?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "minByOrNull(selector)", imports = {}))
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
public inline fun <T, R : kotlin.Comparable<R>> kotlin.sequences.Sequence<T>.minBy(selector: (T) -> R): T?
@@ -392,7 +392,7 @@ public fun kotlin.sequences.Sequence<kotlin.Double>.minOrNull(): kotlin.Double?
@kotlin.SinceKotlin(version = "1.4")
public fun kotlin.sequences.Sequence<kotlin.Float>.minOrNull(): kotlin.Float?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "minWithOrNull(comparator)", imports = {}))
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
public fun <T> kotlin.sequences.Sequence<T>.minWith(comparator: kotlin.Comparator<in T>): T?