fix KT-2481: no bridge for supercall
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
fun box() =
|
||||
B().method()
|
||||
|
||||
public open class A(){
|
||||
public open fun method() : String = "OK"
|
||||
}
|
||||
|
||||
public class B(): A(){
|
||||
public override fun method() : String {
|
||||
return ({
|
||||
super.method()
|
||||
})()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user