Don't generate delegates on overriding jvm8 interfaces

This commit is contained in:
Mikhael Bogdanov
2016-05-19 14:19:02 +03:00
parent 01aa89b1ea
commit 331341bd4d
7 changed files with 154 additions and 3 deletions
+14
View File
@@ -0,0 +1,14 @@
// KOTLIN_CONFIGURATION_FLAGS: +JVM.JVM_8_TARGET
interface Test {
fun test(): String {
return "OK"
}
}
class TestClass : Test {
}
fun box(): String {
return TestClass().test()
}