Move debugger test data to the new location

This commit is contained in:
Yan Zhulanow
2019-09-27 00:13:53 +09:00
parent b4cc5703de
commit d8d81c51d7
1423 changed files with 0 additions and 0 deletions
@@ -0,0 +1,56 @@
package dependentOnFile
import kotlin.reflect.KProperty
fun main(args: Array<String>) {
//Breakpoint!
args.size
}
class TestClass {
fun testFun() = 1
companion object {
val p = 1
}
}
fun testFun() = 1
fun Int.testExtFun() = 1
object TestObject {
val p = 1
}
val testVal = 1
val Int.testExtVal: Int get() = 1
val testDelVal by Delegate()
class Delegate {
operator fun getValue(a: Any?, b: KProperty<*>) = 1
}
// EXPRESSION: TestClass().testFun()
// RESULT: 1: I
// EXPRESSION: testFun()
// RESULT: 1: I
// EXPRESSION: TestObject.p
// RESULT: 1: I
// EXPRESSION: TestClass.p
// RESULT: 1: I
// EXPRESSION: 1.testExtFun()
// RESULT: 1: I
// EXPRESSION: testVal
// RESULT: 1: I
// EXPRESSION: 1.testExtVal
// RESULT: 1: I
// EXPRESSION: testDelVal
// RESULT: 1: I