Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
417088e15084daef5c72bc17ea66d3cf3c026c33
/
.
/
compiler
/
testData
/
codegen
/
box
/
contextParameters
/
ImplicitReceiverWithTheSameContextAndExtension.kt
blob: 518154bba7f24d05b8a7506d62f8adebc5a5c944 [
file
]
// 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
()
}
}