Debugger: Fix NPE in inline lambda context evaluator
-EA-72501 - KNPE: KotlinCodeFragmentFactory$createCodeFragment$.invoke
This commit is contained in:
@@ -157,6 +157,8 @@ class KotlinCodeFragmentFactory: CodeFragmentFactory() {
|
||||
if (semaphore.waitFor(20)) break
|
||||
}
|
||||
|
||||
if (visibleVariables == null) return@lamdba null
|
||||
|
||||
fun isLocalVariableForParameterPresent(p: ValueParameterDescriptor): Boolean {
|
||||
return visibleVariables?.firstOrNull {
|
||||
if (it.first.name() != p.name.asString()) return@firstOrNull false
|
||||
|
||||
Reference in New Issue
Block a user