mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 15:15:45 +07:00
12 lines
210 B
Plaintext
12 lines
210 B
Plaintext
fun test() {
|
|
J().foo(3, new A (a + b))
|
|
K().foo(3, new A (a + b))
|
|
}
|
|
|
|
abstract class K0 {
|
|
abstract fun foo(c: Int, a1: A): Int
|
|
}
|
|
|
|
open class K: K0() {
|
|
override fun foo(c: Int, a1: A) = a + b + c
|
|
} |