Fix compilation
This commit is contained in:
committed by
Nikolay Krasko
parent
fed264580d
commit
002bca2f01
@@ -55,7 +55,7 @@ public abstract class AbstractKotlinSteppingTest : KotlinDebuggerTestBase() {
|
||||
|
||||
File(path).readLines().forEach {
|
||||
when {
|
||||
it.startsWith("// STEP_INTO") -> repeat("// STEP_INTO: ") { stepInto() }
|
||||
it.startsWith("// STEP_INTO") -> repeat("// STEP_INTO: ") { stepInto(this) }
|
||||
it.startsWith("// STEP_OUT") -> repeat("// STEP_OUT: ") { stepOut() }
|
||||
it.startsWith("// SMART_STEP_INTO") -> repeat("// SMART_STEP_INTO: ") { smartStepInto() }
|
||||
it.startsWith("// RESUME") -> repeat("// RESUME: ") { resume(this) }
|
||||
@@ -75,7 +75,7 @@ public abstract class AbstractKotlinSteppingTest : KotlinDebuggerTestBase() {
|
||||
for (i in 1..(getPrefixedInt(fileText, "// $command: ") ?: 1)) {
|
||||
doOnBreakpoint {
|
||||
when(command) {
|
||||
"STEP_INTO" -> stepInto()
|
||||
"STEP_INTO" -> stepInto(this)
|
||||
"STEP_OUT" -> stepOut()
|
||||
"SMART_STEP_INTO" -> smartStepInto()
|
||||
}
|
||||
|
||||
@@ -117,10 +117,6 @@ abstract class KotlinDebuggerTestBase : KotlinDebuggerTestCase() {
|
||||
}
|
||||
}
|
||||
|
||||
protected fun SuspendContextImpl.stepInto() {
|
||||
this.stepInto(false, null)
|
||||
}
|
||||
|
||||
protected var evaluationContext: EvaluationContextImpl by Delegates.notNull()
|
||||
protected var debuggerContext: DebuggerContextImpl by Delegates.notNull()
|
||||
|
||||
|
||||
+1
-1
@@ -110,7 +110,7 @@ public abstract class AbstractKotlinEvaluateExpressionTest : KotlinDebuggerTestB
|
||||
val count = InTextDirectivesUtils.getPrefixedInt(fileText, "// STEP_INTO: ") ?: 0
|
||||
if (count > 0) {
|
||||
for (i in 1..count) {
|
||||
doOnBreakpoint { stepInto() }
|
||||
doOnBreakpoint { this@AbstractKotlinEvaluateExpressionTest.stepInto(this) }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user