Write KotlinInterfaceDefaultImpls annotation to DefaultImpls classes
Instead of KotlinSyntheticClass with kind = TRAIT_IMPL
This commit is contained in:
@@ -187,7 +187,7 @@ public object InlineTestUtil {
|
||||
private fun isClassOrPackagePartKind(header: KotlinClassHeader): Boolean {
|
||||
return header.classKind == JvmAnnotationNames.KotlinClass.Kind.CLASS
|
||||
|| header.syntheticClassKind == JvmAnnotationNames.KotlinSyntheticClass.Kind.PACKAGE_PART
|
||||
|| header.syntheticClassKind == JvmAnnotationNames.KotlinSyntheticClass.Kind.TRAIT_IMPL
|
||||
|| header.isInterfaceDefaultImpls
|
||||
}
|
||||
|
||||
private fun getClassHeader(file: OutputFile): KotlinClassHeader {
|
||||
|
||||
Reference in New Issue
Block a user