fix KT-2481: no bridge for supercall

This commit is contained in:
Alex Tkachman
2012-07-28 14:17:42 +03:00
parent eaee4e9cc7
commit 0b327d29bc
4 changed files with 37 additions and 3 deletions
@@ -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()
})()
}
}