Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
5e49b472f81ed95098eec9749aa2ad0415fac731
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
controlFlowAnalysis
/
privateSetter.kt
blob: c5afe3b301b4e51eb0f0c1993c07925d53a7566d [
file
]
// FIR_IDENTICAL
open
class
X
(
s
:
String
)
{
public
var
n
:
String
=
s
private
set
}
class
Z
:
X
(
"subclass"
)
{
fun
print
():
String
{
<!
INVISIBLE_SETTER
!>
n
<!>
=
n
return
n
;
}
}
fun box
()
:
String
{
return
Z
().
print
()
//error
}