Evaluate expression: pass this as first parameter
This commit is contained in:
@@ -161,12 +161,12 @@ class KotlinEvaluator(val codeFragment: JetCodeFragment,
|
||||
|
||||
private fun JetNamedFunction.getParameterNamesForDebugger(): List<String> {
|
||||
val result = arrayListOf<String>()
|
||||
for (param in getValueParameters()) {
|
||||
result.add(param.getName()!!)
|
||||
}
|
||||
if (getReceiverTypeRef() != null) {
|
||||
result.add("this")
|
||||
}
|
||||
for (param in getValueParameters()) {
|
||||
result.add(param.getName()!!)
|
||||
}
|
||||
return result
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user