12 lines
179 B
Kotlin
Vendored
12 lines
179 B
Kotlin
Vendored
open class A () {
|
|
open fun foo(x: Int): Int {
|
|
if (x == null);
|
|
return null
|
|
}
|
|
}
|
|
|
|
class B : A() {
|
|
override fun foo(x: Int): Int {
|
|
return 1
|
|
}
|
|
} |