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