Move debugger test data to the new location
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
package stopInInlineCallInField
|
||||
|
||||
class A {
|
||||
var value = 42
|
||||
|
||||
var b: String = "".inlineApply {
|
||||
{
|
||||
//Breakpoint!
|
||||
foo(value)
|
||||
}()
|
||||
}
|
||||
}
|
||||
|
||||
fun foo(a: Any) {}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
A()
|
||||
}
|
||||
|
||||
inline fun <T> T.inlineApply(block: T.() -> kotlin.Unit): T { this.block(); return this }
|
||||
Reference in New Issue
Block a user