Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
847a2ced07911ac5a943ed41390d054d0e81aa1f
/
.
/
compiler
/
testData
/
codegen
/
box
/
contextParameters
/
assignmentOfContextVar.kt
blob: 0b2c7d5f4c72e06da3ea5dbea63cc133241ff132 [
file
]
// LANGUAGE: +ContextParameters
var
x
=
""
context
(
c
:
String
)
var
foo
:
String
get
()
=
x
set
(
value
)
{
x
=
c
+
value
}
fun box
():
String
{
return
with
(
"O"
)
{
foo
=
"K"
foo
}
}