Fix exponential pseudocode size on incorrect prefix increments and decrements
#KT-44153 Fixed
This commit is contained in:
@@ -538,7 +538,7 @@ class ControlFlowProcessor(
|
||||
createNonSyntheticValue(expression, MagicKind.UNRESOLVED_CALL, baseExpression)
|
||||
}
|
||||
|
||||
if (incrementOrDecrement) {
|
||||
if (incrementOrDecrement && resolvedCall != null) {
|
||||
visitAssignment(baseExpression, getValueAsFunction(rhsValue), expression)
|
||||
if (expression is KtPostfixExpression) {
|
||||
copyValue(baseExpression, expression)
|
||||
@@ -1681,4 +1681,4 @@ class ControlFlowProcessor(
|
||||
return parameterValues
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user