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