Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
eeaff786f0d0a86b7b827da0028bbafe287d3c04
/
.
/
compiler
/
testData
/
codegen
/
box
/
contextParameters
/
contextualLocalFunWithExtensiionReceiver.kt
blob: 57d63f28574e923c9e8dfa44657c16e2af46422d [
file
]
// IGNORE_BACKEND_K1: ANY
// LANGUAGE: +ContextParameters
class
A
(
val a
:
String
)
class
B
(
val b
:
String
)
fun box
():
String
{
context
(
a
:
A
)
fun B
.
localFun
():
String
{
return
this
.
b
+
a
.
a
}
with
(
A
(
"K"
))
{
with
(
B
(
"O"
))
{
return
localFun
()
}
}
}