Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
847a2ced07911ac5a943ed41390d054d0e81aa1f
/
.
/
compiler
/
testData
/
codegen
/
box
/
contextParameters
/
sameNameWithLocalValueParameter.kt
blob: fdb990425fe97b0c1a1ccaf367a94328f190d712 [
file
]
// LANGUAGE: +ContextParameters
fun test
(
a
:
String
):
String
{
context
(
a
:
String
)
fun foo
():
String
{
return
a
}
with
(
"OK"
)
{
return
foo
()
}
}
fun box
():
String
{
return
test
(
"not OK"
)
}