Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
2b455fc1ba7dcb99fa03fdfc31c7672d6ccfc9fd
/
.
/
compiler
/
testData
/
codegen
/
box
/
contextParameters
/
ImplicitReceiverWithTheSameContextAndExtension.kt
blob: d3ab0082ef4b38e76c3e61013061c946fd95fbac [
file
]
// IGNORE_BACKEND_K1: ANY
// LANGUAGE: +ContextParameters
class
A
{
fun foo
():
String
{
return
"not OK"
}
}
fun box
():
String
{
context
(
a
:
A
)
fun foo
():
String
{
return
"OK"
}
return
with
(
A
())
{
foo
()
}
}