Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6f1b95d296c5592d3a3e71cc638994fa2ba4e4f7
/
.
/
compiler
/
testData
/
codegen
/
box
/
fir
/
contextReceiverToExtensionReceiver.kt
blob: ad4c0ede6f8c18a5fd77c0ae5e02e1aae36c4205 [
file
]
// LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR
// ISSUE: KT-54139
class
A
class
B
fun B
.
extensionFunction
()
{}
context
(
A
,
B
)
fun test
()
{
extensionFunction
()
}
fun box
():
String
{
with
(
A
())
{
with
(
B
())
{
test
()
}
}
return
"OK"
}