Properly map super calls in typeMapper

This commit is contained in:
Michael Bogdanov
2016-09-28 11:06:27 +03:00
parent 5f1f4a067d
commit c19e035f91
3 changed files with 36 additions and 2 deletions

View File

@@ -0,0 +1,24 @@
// JVM_TARGET: 1.8
interface Test {
fun test(): String {
return "OK"
}
}
interface Test2 : Test {
override fun test(): String {
return super.test()
}
}
class TestClass : Test2 {
}
fun box(): String {
return TestClass().test()
}