Do not write and read KotlinInterfaceDefaultImpls

This was only used in InlineTestUtil.kt and had no effect in the condition
This commit is contained in:
Alexander Udalov
2016-01-17 23:10:46 +03:00
parent 7906ac63b5
commit e37bd4eba6
13 changed files with 11 additions and 32 deletions
@@ -138,7 +138,7 @@ abstract class AbstractBytecodeListingTest : CodegenTestCase() {
override fun visitAnnotation(desc: String, visible: Boolean): AnnotationVisitor? {
val name = Type.getType(desc).className
classAnnotations.add("@$name ")
classAnnotations.add("@$name")
return super.visitAnnotation(desc, visible)
}
@@ -171,7 +171,7 @@ object InlineTestUtil {
}
private fun isClassOrPackagePartKind(header: KotlinClassHeader): Boolean {
return (header.kind == KotlinClassHeader.Kind.CLASS && !header.isLocalClass) || header.isInterfaceDefaultImpls
return header.kind == KotlinClassHeader.Kind.CLASS && !header.isLocalClass
}
private fun getClassHeader(file: OutputFile): KotlinClassHeader {