Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
847a2ced07911ac5a943ed41390d054d0e81aa1f
/
.
/
compiler
/
testData
/
codegen
/
box
/
contextParameters
/
kt51951.kt
blob: a62203a70c47bdec5cee4f55c397514f1fe40b98 [
file
]
// LANGUAGE: +ContextParameters
// WITH_STDLIB
typealias
StringProvider
=
()
->
String
context
(
function
:
StringProvider
)
fun doSomething
()
{
function
()
}
fun box
():
String
{
with
({
""
})
{
doSomething
()
}
return
"OK"
}