Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
eeaff786f0d0a86b7b827da0028bbafe287d3c04
/
.
/
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
()
}
}