[IR] Unbind construction methods of IrClassImpl from symbol.descriptor
This commit is contained in:
+1
-8
@@ -261,14 +261,7 @@ class JvmDeclarationFactory(
|
||||
Name.identifier(JvmAbi.DEFAULT_IMPLS_CLASS_NAME),
|
||||
ClassKind.CLASS,
|
||||
Visibilities.PUBLIC,
|
||||
Modality.FINAL,
|
||||
isCompanion = false,
|
||||
isInner = false,
|
||||
isData = false,
|
||||
isExternal = false,
|
||||
isInline = false,
|
||||
isExpect = false,
|
||||
isFun = false
|
||||
Modality.FINAL
|
||||
).apply {
|
||||
descriptor.bind(this)
|
||||
parent = interfaceClass
|
||||
|
||||
+1
-8
@@ -101,14 +101,7 @@ private class FileClassLowering(val context: JvmBackendContext) : FileLoweringPa
|
||||
name = fileClassInfo.fileClassFqName.shortName(),
|
||||
kind = ClassKind.CLASS,
|
||||
visibility = if (!fileClassInfo.withJvmMultifileClass) Visibilities.PUBLIC else JavaVisibilities.PACKAGE_VISIBILITY,
|
||||
modality = Modality.FINAL,
|
||||
isCompanion = false,
|
||||
isInner = false,
|
||||
isData = false,
|
||||
isExternal = false,
|
||||
isInline = false,
|
||||
isExpect = false,
|
||||
isFun = false
|
||||
modality = Modality.FINAL
|
||||
).apply {
|
||||
descriptor.bind(this)
|
||||
superTypes += context.irBuiltIns.anyType
|
||||
|
||||
Reference in New Issue
Block a user