Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0c8f3faeecbeecb0d1430ef2b86dd192a029711c
/
.
/
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"
}