Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
2b455fc1ba7dcb99fa03fdfc31c7672d6ccfc9fd
/
.
/
compiler
/
testData
/
codegen
/
box
/
contextParameters
/
assignmentOfContextVar.kt
blob: 653b323092349f5e50769069255679d1449acc31 [
file
]
// IGNORE_BACKEND_K1: ANY
// 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
}
}