Fix OOM when there are several lambdas with extension function types
#KT-41335 Fixed
This commit is contained in:
+1
-1
@@ -94,7 +94,7 @@ class PostponedArgumentInputTypesResolver(
|
||||
getDeclaredParametersFromRelatedLambdas(argument, postponedArguments, variableDependencyProvider)
|
||||
|
||||
val annotationsFromConstraints = functionalTypesFromConstraints?.run {
|
||||
Annotations.create(flatMap { it.type.annotations })
|
||||
Annotations.create(flatMapTo(SmartSet.create()) { it.type.annotations }.toList())
|
||||
} ?: Annotations.EMPTY
|
||||
|
||||
val annotations = if (isThereExtensionFunctionAmongRelatedLambdas) {
|
||||
|
||||
Reference in New Issue
Block a user