Move debugger test data to the new location
This commit is contained in:
Vendored
+25
@@ -0,0 +1,25 @@
|
||||
package variableAsFunction
|
||||
|
||||
fun main() {
|
||||
class Foo
|
||||
|
||||
class Bar {
|
||||
operator fun Foo.invoke(f: Int) = f
|
||||
}
|
||||
|
||||
with (Bar()) {
|
||||
block {
|
||||
val foo = Foo()
|
||||
//Breakpoint!
|
||||
val y = foo(5)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun block(block: () -> Unit) {
|
||||
block()
|
||||
}
|
||||
|
||||
|
||||
// EXPRESSION: foo(5)
|
||||
// RESULT: 5: I
|
||||
Reference in New Issue
Block a user