14 lines
174 B
Kotlin
Vendored
14 lines
174 B
Kotlin
Vendored
// ISSUE: KT-61101
|
|
|
|
open class A {
|
|
var x: Int = 0
|
|
private set
|
|
}
|
|
|
|
class B : A()
|
|
|
|
fun test() {
|
|
val b = B()
|
|
b<!UNREACHABLE_CODE!>.x =<!> throw Exception()
|
|
}
|