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