Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0c8f3faeecbeecb0d1430ef2b86dd192a029711c
/
.
/
compiler
/
testData
/
codegen
/
box
/
extensionProperties
/
inClassWithSetter.kt
blob: c562b29e92e1755bd32b409cecfb423bcc1c1502 [
file
]
class
Test
{
var
storage
=
"Fail"
var
Int
.
foo
:
String
get
()
=
storage
set
(
value
)
{
storage
=
value
}
fun test
():
String
{
val i
=
1
i
.
foo
=
"OK"
return
i
.
foo
}
}
fun box
():
String
{
return
Test
().
test
()
}