Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
f7ff397a310cd4d47fc4849043f8c9d47412e512
/
.
/
compiler
/
testData
/
codegen
/
box
/
extensionProperties
/
inClassWithSetter.kt
blob: 4b5f1314706faeaf94c6d7fc6ac2f8ca1648bdc1 [
file
]
// IGNORE_BACKEND_FIR: JVM_IR
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
()
}