Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6f1b95d296c5592d3a3e71cc638994fa2ba4e4f7
/
.
/
compiler
/
testData
/
codegen
/
script
/
scriptInstanceCapturing
/
classCapturesExtensionIndirect.kts
blob: 3970571652aa38aff0ed7d514f340a21cf061ba1 [
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
fun foo
()
{
B
()
}
val b
=
B
()
class
A
fun A
.
ext
()
=
Unit
class
B
{
fun bar
()
{
A
().
ext
()
}
}
val rv
=
foo
()