Make static initializer classes for inheriting multifile class parts annotated as SYNTHETIC_CLASS.
This commit is contained in:
@@ -78,7 +78,7 @@ class MultifileClassCodegen(
|
|||||||
state.fileClassesProvider.getFileClassInfo(this).fileClassFqName
|
state.fileClassesProvider.getFileClassInfo(this).fileClassFqName
|
||||||
|
|
||||||
private val shouldGeneratePartHierarchy =
|
private val shouldGeneratePartHierarchy =
|
||||||
state.inheritMultifileParts // TODO support incremental compilation
|
state.inheritMultifileParts
|
||||||
|
|
||||||
private val partInternalNamesSorted = run {
|
private val partInternalNamesSorted = run {
|
||||||
val partInternalNamesSet = hashSetOf<String>()
|
val partInternalNamesSet = hashSetOf<String>()
|
||||||
|
|||||||
@@ -115,6 +115,8 @@ class MultifileClassPartCodegen(
|
|||||||
visitMaxs(1, 0)
|
visitMaxs(1, 0)
|
||||||
visitEnd()
|
visitEnd()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
writeSyntheticClassMetadata(this)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user