Files
kotlin-fork/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/dataClassCopy.kt
T
Yan Zhulanow f129ab55c5 Debugger: Rewrite step out action
This commit fixes the following tests:
 - KotlinSteppingTestGenerated.Custom.testStepOutInlineFunctionStdlib
 - KotlinSteppingTestGenerated.StepOut.testStepOutSeveralInlineArgumentDeepest
2020-02-14 17:35:17 +09:00

17 lines
293 B
Kotlin
Vendored

package dataClassCopy
fun main() {
val a = Foo("foo")
//Breakpoint!
a.copy("bar")
}
data class Foo(val a: String)
// STEP_INTO: 2
// EXPRESSION: Foo("baz")
// RESULT: instance of dataClassCopy.Foo(id=ID): LdataClassCopy/Foo;
// EXPRESSION: a
// RESULT: Unresolved reference: a