12 lines
254 B
Kotlin
Vendored
12 lines
254 B
Kotlin
Vendored
actual open class A<T> {
|
|
actual open fun foo(arg: T) {}
|
|
open fun bar(arg: T): T = arg
|
|
open fun baz(arg: T): T = arg
|
|
}
|
|
class D : C() {
|
|
fun test() {
|
|
foo("")
|
|
bar("") // should be resolved to just C.bar
|
|
baz("")
|
|
}
|
|
} |