Made bridge methods public.
Added test on usage of a bridge method from different module. Bridge methods must be public in order use them from other modules.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
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())
|
||||
}
|
||||
Reference in New Issue
Block a user