Support inheritance from java 8 interfaces

#KT-5969 In Progress
This commit is contained in:
Michael Bogdanov
2014-10-09 19:16:56 +04:00
parent 3613fb746c
commit 2a1520228e
4 changed files with 28 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
trait A : MyInt {
override public fun test(): String? {
return "OK"
}
}
class B: A
fun box() : String {
return B().test()!!
}