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,30 @@
package stopInInlineCallInFieldInDelegate
import kotlin.reflect.KProperty
class A {
var value = 42
val b: String by getDelegate {
{
//Breakpoint!
foo(value)
}()
}
}
@Suppress("NOTHING_TO_INLINE")
inline fun getDelegate(function: () -> Unit): Delegate {
function()
return Delegate()
}
class Delegate() {
operator fun getValue(a: A, property: KProperty<*>): String = ""
}
fun foo(a: Any) {}
fun main(args: Array<String>) {
A().b
}