bf65a78a93
Added test on usage of a bridge method from different module. Bridge methods must be public in order use them from other modules.
12 lines
177 B
Kotlin
12 lines
177 B
Kotlin
import a.*
|
|
|
|
class B: C()
|
|
|
|
fun main(args: Array<String>) {
|
|
val b = B()
|
|
println(b.foo())
|
|
val c: C = b
|
|
println(c.foo())
|
|
val a: A<Int> = b
|
|
println(a.foo())
|
|
} |