Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
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
()
}