[IR] Introduce API to register generated IR declaration to be present in metatada

KT-63881
This commit is contained in:
Dmitriy Novozhilov
2023-11-24 16:38:27 +02:00
parent 1cdc8361d6
commit 159bc1b435
6 changed files with 340 additions and 132 deletions
@@ -84,6 +84,7 @@ class AllPropertiesConstructorIrGenerator(val context: IrPluginContext) : IrElem
}
)
)
context.metadataDeclarationRegistrar.registerConstructorAsMetadataVisible(ctor)
}
}