Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
ed7ee67e4e1513f9b3ba9587b6d6e950e7a1da7f
/
.
/
compiler
/
testData
/
codegen
/
script
/
scriptInstanceCapturing
/
classCapturesExtensionIndirect2x.kts
blob: 109149b21d032684301d47d0e5854a973bd43e61 [
file
]
// IGNORE_BACKEND: JS_IR, JS_IR_ES6, NATIVE, WASM_JS, WASM_WASI
// JVM_ABI_K1_K2_DIFF: KT-63960, KT-63963
// expected: rv: kotlin.Unit
class
C
{
fun foo
()
{
B
()
}
}
class
A
fun A
.
ext
()
=
Unit
class
B
{
fun bar
()
{
A
().
ext
()
}
}
val rv
=
C
().
foo
()