[IR] Call IR declaration constructors with named parameters
When those classes become auto-generated, the order of constructor parameters will differ. This commit ensures they will still be resolved correctly. ^KT-65773 In Progress
This commit is contained in:
committed by
Space Team
parent
a005f2e75d
commit
92ff782815
+10
-3
@@ -296,9 +296,16 @@ class Fir2IrDeclarationStorage(
|
||||
name: Name,
|
||||
source: SourceElement,
|
||||
) : IrClassImpl(
|
||||
UNDEFINED_OFFSET, UNDEFINED_OFFSET, origin, IrClassSymbolImpl(), name,
|
||||
ClassKind.CLASS, DescriptorVisibilities.PUBLIC, Modality.FINAL,
|
||||
source, IrFactoryImpl,
|
||||
startOffset = UNDEFINED_OFFSET,
|
||||
endOffset = UNDEFINED_OFFSET,
|
||||
origin = origin,
|
||||
symbol = IrClassSymbolImpl(),
|
||||
name = name,
|
||||
kind = ClassKind.CLASS,
|
||||
visibility = DescriptorVisibilities.PUBLIC,
|
||||
modality = Modality.FINAL,
|
||||
source = source,
|
||||
factory = IrFactoryImpl,
|
||||
)
|
||||
|
||||
private class NonCachedSourceFacadeContainerSource(
|
||||
|
||||
Reference in New Issue
Block a user