mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 00:21:32 +00:00
11 lines
168 B
Kotlin
Vendored
11 lines
168 B
Kotlin
Vendored
// "Initialize with constructor parameter" "true"
|
|
open class A(s: String) {
|
|
<caret>var n: Int
|
|
get() = 1
|
|
}
|
|
|
|
class B : A("")
|
|
|
|
fun test() {
|
|
val a = A("")
|
|
} |