Don't try to infer postponed variables on lambdas without BuilderInference annotation
^KT-39618 Fixed
This commit is contained in:
@@ -110,6 +110,12 @@ class LambdaKotlinCallArgumentImpl(
|
||||
) : PSIFunctionKotlinCallArgument(outerCallContext, valueArgument, dataFlowInfoBeforeThisArgument, argumentName) {
|
||||
override val ktFunction get() = ktLambdaExpression.functionLiteral
|
||||
override val expression get() = containingBlockForLambda
|
||||
|
||||
override var hasBuilderInferenceAnnotation = false
|
||||
set(value) {
|
||||
assert(!field)
|
||||
field = value
|
||||
}
|
||||
}
|
||||
|
||||
class FunctionExpressionImpl(
|
||||
|
||||
Reference in New Issue
Block a user