Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
70b97c5abe682fb7598fc5070d94c39256a0baa4
/
.
/
compiler
/
testData
/
codegen
/
script
/
scriptInstanceCapturing
/
classCapturesExtensionIndirect2x.kts
blob: 5874f98ae1064cd0ac5ad660bf3222d1b9c885ea [
file
]
// IGNORE_BACKEND: JS_IR, JS_IR_ES6, NATIVE, WASM_JS, WASM_WASI
// 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
()