#EA-97027 Fixed
This commit is contained in:
@@ -41,7 +41,7 @@ class CallableUsageReplacementStrategy(
|
|||||||
return {
|
return {
|
||||||
if (usage is KtOperationReferenceExpression && usage.getReferencedNameElementType() != KtTokens.IDENTIFIER) {
|
if (usage is KtOperationReferenceExpression && usage.getReferencedNameElementType() != KtTokens.IDENTIFIER) {
|
||||||
val nameExpression = OperatorToFunctionIntention.convert(usage.parent as KtExpression).second
|
val nameExpression = OperatorToFunctionIntention.convert(usage.parent as KtExpression).second
|
||||||
createReplacer(nameExpression)!!.invoke()
|
createReplacer(nameExpression)?.invoke()
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
CodeInliner(usage, bindingContext, resolvedCall, callElement, replacement).doInline()
|
CodeInliner(usage, bindingContext, resolvedCall, callElement, replacement).doInline()
|
||||||
|
|||||||
Reference in New Issue
Block a user