Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
f467c970b2a4ee4ada1a66e72db80b847652c1d1
/
.
/
compiler
/
testData
/
codegen
/
script
/
scriptInstanceCapturing
/
classCapturesExtensionIndirect2x.kts
blob: e6daecd4dc6dcd200b8a21a2d7794453379451e3 [
file
] [
log
] [
blame
]
// IGNORE_BACKEND: JS, JS_IR, JS_IR_ES6, NATIVE, WASM
// IGNORE_BACKEND: JVM
// 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
()