[FIR/IR] Introduce an ability to propagate generated IR annotation to metadata
^KT-58638 Fixed
This commit is contained in:
committed by
Space Team
parent
24e07fdfe0
commit
5717b59f52
@@ -260,7 +260,8 @@ private class Fir2KlibSerializer(
|
||||
FirKLibSerializerExtension(
|
||||
session, metadataVersion,
|
||||
ConstValueProviderImpl(fir2IrActualizedResult.components),
|
||||
allowErrorTypes = false, exportKDoc = false
|
||||
allowErrorTypes = false, exportKDoc = false,
|
||||
fir2IrActualizedResult.components.annotationsFromPluginRegistrar.createMetadataAnnotationsProvider()
|
||||
),
|
||||
languageVersionSettings,
|
||||
)
|
||||
|
||||
@@ -167,7 +167,8 @@ internal class FirMetadataSerializer(
|
||||
actualizedExpectDeclarations = null,
|
||||
FirKLibSerializerExtension(
|
||||
session, metadataVersion, constValueProvider = null,
|
||||
allowErrorTypes = false, exportKDoc = false
|
||||
allowErrorTypes = false, exportKDoc = false,
|
||||
additionalAnnotationsProvider = null
|
||||
),
|
||||
languageVersionSettings,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user