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