Workaround for compiler crash
This commit is contained in:
@@ -75,11 +75,12 @@ class OutflowSlicer(
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
val funExpression: PsiElement = when (function) {
|
val funExpression = when (function) {
|
||||||
is KtFunctionLiteral -> function.parent as? KtLambdaExpression
|
is KtFunctionLiteral -> function.parent as? KtLambdaExpression
|
||||||
is KtNamedFunction -> function
|
is KtNamedFunction -> function
|
||||||
else -> null
|
else -> null
|
||||||
} ?: return
|
} ?: return
|
||||||
|
funExpression as PsiElement
|
||||||
funExpression.passToProcessor(parentUsage.lambdaLevel + 1, true)
|
funExpression.passToProcessor(parentUsage.lambdaLevel + 1, true)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user