Fix stdlib compilation after updated @JvmName check
Previously, extension receiver type was not taken into account when
checking for @JvmName annotation applicability to possibly mangled
functions (such functions, however, were mangled).
This bug was fixed, but, unfortunately, not before such functions were
added to stdlib ('sumOf' family).
This commit is contained in:
@@ -264,6 +264,9 @@ object Aggregates : TemplateGroupBase() {
|
||||
}
|
||||
annotation("@OptIn(kotlin.experimental.ExperimentalTypeInference::class)")
|
||||
annotation("@OverloadResolutionByLambdaReturnType")
|
||||
specialFor(ArraysOfUnsigned) {
|
||||
annotation("""@Suppress("INAPPLICABLE_JVM_NAME")""")
|
||||
}
|
||||
annotation("""@kotlin.jvm.JvmName("sumOf$typeShortName")""") // should not be needed if inline return type is mangled
|
||||
if (selectorType.startsWith("U"))
|
||||
annotation("@ExperimentalUnsignedTypes")
|
||||
|
||||
Reference in New Issue
Block a user