14 lines
206 B
Plaintext
14 lines
206 B
Plaintext
// PARAM_TYPES: A
|
|
// PARAM_DESCRIPTOR: val foo: A defined in testProp
|
|
class A {
|
|
fun invoke() = 20
|
|
}
|
|
// SIBLING:
|
|
fun testProp() {
|
|
val foo = A()
|
|
unit(foo)
|
|
}
|
|
|
|
private fun unit(foo: A) {
|
|
foo()
|
|
} |