Generate delegation body for default interface methods, calculate proper abstractness for them

This commit is contained in:
Michael Bogdanov
2016-04-12 16:24:05 +03:00
committed by Mikhael Bogdanov
parent fc8058848f
commit 01aa89b1ea
6 changed files with 101 additions and 15 deletions
@@ -0,0 +1,16 @@
// KOTLIN_CONFIGURATION_FLAGS: +JVM.JVM_8_TARGET
interface Test {
fun test(): String {
return "OK"
}
fun testAbstract(): String
}
// TESTED_OBJECT_KIND: function
// TESTED_OBJECTS: Test, test
// FLAGS: ACC_PUBLIC
// TESTED_OBJECT_KIND: function
// TESTED_OBJECTS: Test, testAbstract
// FLAGS: ACC_PUBLIC, ACC_ABSTRACT