mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 15:53:55 +00:00
13 lines
144 B
Kotlin
Vendored
13 lines
144 B
Kotlin
Vendored
open class A {
|
|
private val i = 0
|
|
|
|
fun <caret>foo() {
|
|
i.toString()
|
|
}
|
|
}
|
|
|
|
class B : A() {
|
|
fun bar() {
|
|
foo()
|
|
}
|
|
} |